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.

CreateWindowTable 4.3: Window styles (continued)WS_ CLIPCHILDRENWS_DISABLEDWS_DLGFRAMEWS_GROUPWS_HSCROLLWS_ICONICWS_MAXIMIZEWS_MAXIMIZEBOXWS_MINIMIZEWS_MINIMIZEBOXWS_OVERLAPPEDWS_OVERLAPPEDWINDOWWS_POPUPWS_POPUPWINDOWExcludes the area occupied by child windowswhen drawing within the parent window.Used when creating the parent window.Clips child windows relative to each other;that is, when a particular child windowreceives a paint message, theWS_CLIPSIBLINGS style clips all otheroverlapped child windows out of the region ofthe child window to be updated. (IfWS_CLIPSIBLINGS is not given and childwindows overlap, it is possible, whendrawing within the client area of a childwindow, to draw within the client area of aneighboring child window.) For use with theWS_CHILD style only.Creates a window that is initially disabled.Creates a window with a double border butno title.Specifies the first control of a group of controlsin which the user can move from one controlto the next by using the DIRECTION keys. Allcontrols defined with the WS_GROUP styleafter the first control belong to the samegroup. The next control with the WS_GROUPstyle ends the style group and starts the nextgroup (that is, one group ends where the nextbegins). Only dialog boxes use this style.Creates a window that has a horizontal scrollbar.Creates a window that is initially iconic. Foruse with the WS_OVERLAPPED style only.Creates a window of maximum size.Creates a window that has a maximize box.Creates a window of minimum size.Creates a window that has a minimize box.Creates an overlapped window. Anoverlapped window has a caption and aborder.Creates an overlapped window having theWS_OVERLAPPED, WS_CAPTION,WS_SYSMENU, WS_THICKFRAME,WS_MINIMIZEBOX, andWS_MAXIMIZEBOX styles.Creates a pop-up window. Cannot be usedwith the WS_CHILD style.Creates a pop-up window that has theWS_BORDER, WS_POPUP, andWS_SYSMENU styles. The WS_CAPTIONstyle must be combined with theWS_POPUPWINDOW style to make thesystem menu visible.210Software development kit

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

Saved successfully!

Ooh no, something went wrong!