Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getmenucheckmarkdimensions()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetMenuCheckMarkDimensions()
Return the width and height of the default check mark bitmap
------------------------------------------------------------------------------

Syntax
GetMenuCheckMarkDimensions()   -->   nValue

Arguments
None.

Returns
A numeric value containing both the width and height of the
default check mark bitmap (in pixels).

Description
This function returns a numeric value containing both the
width and height (in pixels) of the check mark bitmap used by
Windows when a menu item is checked.  If you are using
SetMenuItemBitmaps(), you must make sure the bitmaps you
specify have the same width and height as the values returned
by this function.

The width can be extracted by the C4W_LoWord() function, and
the height can be extracted by C4W_HiWord().

Example
? C4W_LoWord( GetMenuCheckMarkDimensions() )     // the width


See Also: CheckMenuItem() CreateMenu() SetMenuItemBitmaps()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson