Changeset 81 for trunk/include/helpers/comctl.h
- Timestamp:
- Jun 23, 2001, 11:12:49 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/comctl.h
r68 r81 36 36 #ifndef COMCTL_HEADER_INCLUDED 37 37 #define COMCTL_HEADER_INCLUDED 38 39 /* ****************************************************************** 40 * 41 * "XButton" control 42 * 43 ********************************************************************/ 44 45 /* 46 *@@ XBUTTONDATA: 47 * paint data for ctlPaintXButton. 48 * 49 *@@added V0.9.13 (2001-06-21) [umoeller] 50 */ 51 52 typedef struct _XBUTTONDATA 53 { 54 RECTL rcl; // size of button (in presentation space 55 // coordinates); exclusive! 56 57 ULONG cxMiniIcon; // system mini icon size 58 59 LONG lcol3DDark, // lo-3D color 60 lcol3DLight, // hi-3D color 61 lMiddle; // color for center (button background) 62 63 HPOINTER hptr; // icon to paint or NULLHANDLE 64 65 } XBUTTONDATA, *PXBUTTONDATA; 66 67 #define XBF_FLAT 0x0001 68 69 #define XBF_PRESSED 0x00010000 70 #define XBF_BACKGROUND 0x00020000 71 #define XBF_INUSE 0x00040000 72 73 VOID ctlPaintXButton(HPS hps, 74 ULONG fl, 75 PXBUTTONDATA pxbd); 38 76 39 77 /* ****************************************************************** … … 670 708 /* 671 709 *@@ TOOLTIPTEXT: 672 * identifies a tool for which text is to be displayed and 673 * receives the text for the tool. The tool must fill all 674 * fields of this structure. 675 * 676 * This structure is used with the TTN_NEEDTEXT notification. 710 * identifies a tool for which text is to 711 * be displayed and receives the text for 712 * the tool. The tool must fill all fields 713 * of this structure. 714 * 715 * This structure is used with the TTN_NEEDTEXT 716 * notification. 677 717 * 678 718 *@@changed V0.9.7 (2001-01-03) [umoeller]: got rid of this win95 crap … … 693 733 // out: with TTFMT_PSZ, pointer to a string that contains the 694 734 // tool text. Note that this is not copied into the tooltip... 695 // so this must point to a static buffer. 735 // so this must point to a static buffer that is valid while 736 // the tooltip is showing. 696 737 HMODULE hmod; 697 738 // out: with TTFMT_STRINGRES, the module handle of the resource. … … 790 831 * -- mp1 USHORT usID; 791 832 * USHORT usNotifyCode == TTN_NEEDTEXT 792 * -- ULONG mp2: identifier of the tool, as in TOOLINFO.uId. 833 * -- ULONG mp2: PTOOLINFO of the tool for which the 834 * tool is about to be displayed. 793 835 * 794 836 * Return value: always 0. … … 808 850 * -- mp1 USHORT usID; 809 851 * USHORT usNotifyCode == TTN_NEEDTEXT 810 * -- ULONG mp2: identifier of the tool, as in TOOLINFO.uId. 852 * -- ULONG mp2: PTOOLINFO of the tool for which the 853 * tooltip was visible. 811 854 * 812 855 * Return value: always 0.
Note:
See TracChangeset
for help on using the changeset viewer.