13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ModifyMenuMF _UNCHECKEDSpecifies that the menu item is a character string;the IpNewItem parameter points to the string forthe menu item.Does not place a checkmark next to the menuitem. No checkmark is the default if neitherMF _CHECKED nor MF _UNCHECKED is set. Ifthe application has supplied checkmark bitmaps(see SetMenultemBitmaps), setting this flagdisplays the "checkmark off" bitmap next to themenu item.MoveToSyntax DWORD MoveTo(hDC, X, Y)function MoveTo(DC: HDC; X, Y: Integer): Longint;This function moves the current position to the point specified by the Xand Y parameters.Parameters hDC HOC Identifies the device context.Return valueCommentsXYint Specifies the logical x-coordinate of the new position.int Specifies the logical y-coordinate of the new position.The return value specifies the x- and y-coordinates of the previousposition. The y-coordinate is in the high-order word; the x-coordinate is inthe low-order word.Although the MoveTo function has no output, it affects other outputfunctions that use the current position.MoveWindowSyntaxvoid MoveWindow(h Wnd, X, Y, n Width, nHeight, bRepaint)procedure MoveWindow(Wnd: HWnd; X, Y, Width, Height: Integer;Repaint: Bool);This function causes a WM_SIZE message to be sent to the given window.The X, Y, n Width, and nHeight parameters give the new size of thewindow.Parameters h Wnd HWNO Identifies a pop-up or child window.438Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!