Win32 control APIs and message Functions

Source: Internet
Author: User
Adjustwindowrect Specify a window style and calculate the size of the window required to obtain the rectangle of the target customer area.
Anypopup Determine whether any pop-up window exists on the screen
Arrangeiconicwindows Arrange the minimum child window of a parent window
Attachthreadinput Connection thread Input Function
Begindeferwindowpos Start building a series of new window positions
Bringwindowtotop Bring the specified window to the top of the window list
Cascadewindows Arrange windows in stacked Mode
Childwindowfrompoint Returns the handle of the first subwindow containing the specified vertex in the parent window.
Clienttoscreen Determine the screen coordinates of a point in the window expressed by the customer zone Coordinate
Closewindow Minimizes the specified window
Copyrect Copy rectangular content
Deferwindowpos This function specifies a new window location for a specific window.
Destroywindow Clears the specified window and all its subwindows.
Drawanimatedrects Depicts a series of dynamic rectangles
Enablewindow Allows or disables all mouse and keyboard input in the specified window.
Enddeferwindowpos Update the position and status of all windows specified during deferwindowpos call.
Enumchildwindows Enumerate child windows for the specified parent window
Enumthreadwindows Enumerate the Windows related to the specified task
Enumwindows All parent windows in the enumerated window list
Reverse rect Determine whether the two rectangles have the same structure
Findwindow Find the first top-level window in the window list that meets the specified conditions
Finddomainwex Find the first subwindow that matches the specified condition in the window list.
Flashwindow Flashing display of the specified window
Getactivewindow Get the handle of the activity window
Getcapture Get the handle of a window, which is located in the current input thread and has Mouse capture (received by the mouse activity)
Getclassinfo Obtains a copy of The wndclass structure (or wndclassex structure). The structure contains information related to the specified class.
Getclasslong Get a long variable entry of the window class
Getclassname Obtains the class name for the specified window.
Getclassword Returns an integer variable for the window class.
Getclientrect Returns the size of the rectangle in the specified window.
Getasktopwindow Obtain a window (desktop window) handle representing the entire Screen
Getfocus Get the handle of the window with the input focus
Getforegroundwindow Obtain the handle of the foreground window
Getlastactivepopup Obtains the handle of a pop-up window that has been recently activated in a given parent window.
Getparent Determine the parent window of a specified window
Gettopwindow Search for the internal window list and find the handle of the first window that belongs to the specified window
Getupdaterect Obtains a rectangle that describes the part of the specified window that needs to be updated.
Getwindow Obtains the handle of a window, which has a specific relationship with a source window.
Getwindowcontexthelpid Obtain the help scenario ID associated with the window
Getwindowlong Obtains information from the structure of the specified window.
Getwindowplacement Obtains the status and position of the specified window.
Getwindowrect Obtain the range rectangle of the entire window. The border, title bar, scroll bar, and menu of the window are all in this rectangle.
Getwindowtext Obtains the title text of a form or the content of a control.
Getwindowtextlength Length of text or control content in the survey window title
Getwindowword Obtains information about the specified window structure.
Inflaterect Increase or decrease the size of a rectangle
Intersectrect This function loads a rectangle in lpdestrect, which is the intersection of the two rectangles lpsrc1rect and lpsrc2rect.
Invalidaterect Block all or part of a window's customer Zone
Ischild Determine whether a window is a child or subordinate window of another window
Isiconic Determines whether the window has been minimized.
Isrectempty Determines whether a rectangle is empty.
Iswindow Determine whether a window handle is valid
Iswindowenabled Determine whether the window is active
Iswindowunicode Determines whether a window is a unicode window. This means that the window receives Unicode text for all text-based messages.
Iswindowvisible Determine whether the window is visible
Iszoomed Determine whether the window is maximized
Lockwindowupdate Lock the specified window and disable update.
Mapwindowpoints Converts the coordinates of the customer zone in one window to the coordinate system of the customer zone in the other window.
Movewindow Change the position and size of the specified window
Offsetrect Apply a specified offset to move the rectangle.
Openicon Restore a minimalProgramAnd activate it.
Ptinrect Determines whether the specified vertex is inside the rectangle.
Redrawwindow Redraw all or part of Windows
Releasecapture Release Mouse capture for the current application
Screentoclient Judge the customer zone coordinates of a specified point on the screen
Scrollwindow All or part of the customer area in the rolling window
Scrollgatewex Scroll all or part of the customer area of the window based on the additional options
Setactivewindow Activate the specified window
Setcapture Set Mouse capture to the specified window
Setclasslong Set a long variable entry for the window class
Setclassword Set an entry for the window class
Setfocusapi Set the input focus to the specified window. The window will be activated if necessary
Setforegroundwindow Set the window as the foreground window of the system
Setparent Specify the new parent of a window
Setrect Set the content of the specified rectangle
Setrectempty Set the rectangle to an empty rectangle.
Setwindowcontexthelpid Set the help scenario (context) ID for the specified window
Setwindowlong Set Information for the specified window in the window structure
Setwindowplacement Set window status and position information
Setwindowpos Specify a new position and status for the window
Setwindowtext Set the title text or control content of the window
Setwindowword Set Information for the specified window in the window structure
Showownedpopups Show or hide all pop-up windows owned by the specified window
Showwindow Control Window visibility
Showwindowasync Similar to showwindow
Subtractrect Loads the rectangular lprcdst, which is the result of subtracting lprcsrc2 from the rectangular lprcsrc1.
Tilewindows Arrange windows in Tiled order
Unionrect Loads an lpdestrect target rectangle, which is the result of the combination of lpsrc1rect and lpsrc2rect.
Updatewindow Force update window
Validaterect All or part of customer zones in the verification window
Windowfrompoint Returns the handle of the window containing the specified vertex. Ignore shielding, hiding, and transparent windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.