Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

VB lineto ¡¢ MoveToEx ¡¢ ×ÀÃæ»­Ïß¡£ - VB / API

ÎÒÏëʵÏÖÔÚ×ÀÃæ»­Á½ÌõÏߺáÊúÁ½Ìõ¡£

ΪʲôÎÒÓÃlineto »­³öÀ´µÄÆðʼµãÊÇ0£¬0 ¡££¿

Äܲ»ÄÜ×Ô¼ºÉèÖᣣ¿





Èç¹ûÊÇ»­µÄÐéÏ߾͸üºÃÁË¡£

Èç¹ûÄÜÔÙÉèÖÃÏÂ͸Ã÷¶È¡£¡£¡£¡£¡£


ҪʵÏÖµÄЧ¹û¡£

ÔÚÆÁÄ»ÖÐÑë»­³öÒ»¸öÊ®×ÖµÄͼ°¸³öÀ´¡£

²»¹ÜÊÇʲôAPI ¡£

Ö»ÒªÄÜʵÏÖÕâ¸öЧ¹û¾Í³É¡£

ÓÃMoveToExÒÆ»­±ÊλÖÃ
The MoveToEx function updates the current position to the specified point and optionally returns the previous position. 

BOOL MoveToEx(
  HDC hdc, // handle to device context
  int X, // x-coordinate of new current position
  int Y, // y-coordinate of new current position
  LPPOINT lpPoint // pointer to old current position
);



×Ô¼º±êÌâÉϲ»ÊÇдÁËmovetoexô, ÄѵÀûÓÃ?

GDI+

ÎÒÓÃÁËmovetoex¡£

²»¹ý»¹ÊÇÔÚ0£¬0ÄÇÀ↑ʼ»­°¡¡£

ºÎ²»Ìù´úÂëÄØ£¬ÕâÖÖÇé¿ö£¬Ë­ÖªµÀÄã´úÂëÔõôдµÄ°¡£º£©

VB code:
Option Explicit
Private Declare Function LineTo Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long
Private Declare Function MoveToEx Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, lpPoint As Long) As Long
Private Declare Function GetDC Lib "user32" (ByVal hwnd As


Ïà¹ØÎÊ´ð£º

vbµÄÀàÖÐʹÓÃ×Ô¶¨ÒåÀàÐÍÊý¾ÝµÄÎÊÌâ - VB / »ù´¡Àà


ÎÒÔÚÀàÖÐÓÐÒ»¸öº¯Êý
Public Function DownloadAdditionalSite(SiteName As siteconfig, Directory As String, ymd As String) As Boolean
siteconfigÊÇÎÒ×Ô¶¨ÒåÀàÐ͵ÄÊý¾Ý£¬ÎªÊ²Ã´»áÌáʾ¡°Ö»ÓÐÔÚ¹«¹²¶ÔÏóÄ£¿éÖж ......

vb - VB / ·Ç¼¼ÊõÀà

Ôõô°ÑÒÑÖªµÄÊý¾Ý±£´æ³ÉxmlÎļþ£¬ÏÖÔÚÒÑÖªµÄÊý¾ÝÊÇ
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o=& ......

VB µ÷ÓÃInet¿Ø¼þÏÂÔسö´í - VB / ÍøÂç±à³Ì

¸÷λ¸ßÊÖ£¬Ð¡µÜ×î½üÅöµ½Ò»¸öÎÊÌ⣺ԭÏÈдµÄ³ÌÐò´ó¸ÅµÄ˼·ÊÇ£ºÊ×ÏÈwebbrowser´ò¿ªÍøÖ·£¬ÍøÖ·ÏÔʾºó£¬µã»÷ÍøÖ·ÉϵÄijһ¸öÁ¬½Ó£¬µ±webbrowser¼ì²âµ½ÍøÖ·ÒѾ­Á¬½Óµ½ÏëÒªµÄµØַʱºò¾Í¿ªÊ¼ÏÂÔØÎļþ£¬µ±ÓÃIE6µÄʱºòÏÂÔ ......

ÇóÖú£ºC´úÂëchange toVB´úÂë - VB / »ù´¡Àà

ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó­¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......

vb ÄÚ´æÒç³ö£¿£¿ - VB / »ù´¡Àà

ϵͳÔÚ¶ą̀µçÄÔÉÏÔËÐУ¬¾ÍÔÚÆäÖÐһ̨µçÄÔÉϲúÉú¡±ÄÚ´æÒç³ö¡°¡£
  ÿ̨µçÄÔ²Ù×÷ϵͳ ÅäÖö¼Ò»ÑùµÄ¡£¡£ÇëÎÊÊÇʲôԭÒò£¿
(1)ÓÃÁËÉè¼Æ²»ÍêÉƵĿؼþ£¬¿Ø¼þ±¾ÉíÓÐÎÊÌ⣬»òÕß²»Ç¡µ±µØʹÓÃÁËapiº¯Êý¡£
(2)ÎÞÏÞµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ