delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/21/17:27:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <002f01be73ea$21990310$f2b01e26@np_home_pc>
From: "Nirmal Prasad" <nprasad AT truept DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Cc: <anorland AT hem2 DOT passagen DOT se>
Subject: Missing ImageList fns. , Tab control defines and ComCtl32 exports (b20)
Date: Sun, 21 Mar 1999 17:28:21 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

------=_NextPart_000_002C_01BE73C0.37883120
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

hi,

the following were missing from the b20 headers  (also attached
comctl32.def):-
Also i was told that a new set of headers is being used can anyone tell me
where these are .. do i need b20.1 ???

[CommonFunctions.h]
/* ImageList Extensions */
#if (_WIN32_IE >= 0x0300)
WINBOOL WINAPI ImageList_SetImageCount(HIMAGELIST himl, UINT uNewCount);
WINBOOL WINAPI ImageList_Copy(HIMAGELIST himlDst, int iDst, HIMAGELIST
himlSrc, int iSrc, UINT uFlags);
WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS* pimldp);
#endif

#define ImageList_ExtractIcon(hi, himl, i) ImageList_GetIcon(himl, i, 0)

WINBOOL WINAPI ImageList_DragShowNolock(BOOL fShow);
/* Tab Control Extensions */
#if (_WIN32_IE >= 0x0300)
#define TabCtrl_SetMinTabWidth(hwnd, x) \
SendMessage((hwnd), TCM_SETMINTABWIDTH, 0, x)

#define TabCtrl_DeselectAll(hwnd, fExcludeFocus)\
SendMessage((hwnd), TCM_DESELECTALL, fExcludeFocus, 0)
#endif

#if (_WIN32_IE >= 0x0400)
#define TabCtrl_HighlightItem(hwnd, i, fHighlight) \
SendMessage((hwnd), TCM_HIGHLIGHTITEM, (WPARAM)i, (LPARAM)MAKELONG
(fHighlight, 0))
#define TabCtrl_SetExtendedStyle(hwnd, dw)\
SendMessage((hwnd), TCM_SETEXTENDEDSTYLE, 0, dw)

#define TabCtrl_GetExtendedStyle(hwnd)\
SendMessage((hwnd), TCM_GETEXTENDEDSTYLE, 0, 0)

#define TabCtrl_SetUnicodeFormat(hwnd, fUnicode)  \
SendMessage((hwnd), TCM_SETUNICODEFORMAT, (WPARAM)(fUnicode), 0)

#define TabCtrl_GetUnicodeFormat(hwnd)  \
SendMessage((hwnd), TCM_GETUNICODEFORMAT, 0, 0)

#endif      // _WIN32_IE >= 0x0400 (uhh.. ???? )

[Defines.h]
/* ImageList Control */
#if (_WIN32_IE >= 0x0300)
#define ILCF_MOVE   (0)
#define ILCF_SWAP   (0x00000001)
#endif

/* Tab Control Extensions */
#if (_WIN32_IE >= 0x0300)
#define TCM_SETMINTABWIDTH      (4913)
#define TCM_DESELECTALL         (4914)
#endif

#if (_WIN32_IE >= 0x0300)
#define TCM_HIGHLIGHTITEM       (4915)
#define TCM_SETEXTENDEDSTYLE    (4916)
#define TCM_GETEXTENDEDSTYLE    (4917)
#define TCM_SETUNICODEFORMAT    (0x2005)
#define TCM_GETUNICODEFORMAT    (0x2006)
#endif

[Structures.h]
/* Tab Control Extensions */
typedef struct tagTCITEM
{
    UINT mask;
#if (_WIN32_IE >= 0x0300)
    DWORD dwState;
    DWORD dwStateMask;
#else
    UINT lpReserved1;
    UINT lpReserved2;
#endif
#ifdef UNICODE
   LPWSTR pszText;
#else
    LPSTR pszText;
#endif
    int cchTextMax;
    int iImage;

    LPARAM lParam;
} TCITEM,*LPTCITEM;

#if (_WIN32_IE >= 0x0300) /* IE3.0+ ????? */
typedef struct tagTCHITTESTINFO
{
    POINT pt;
    UINT flags;
} TCHITTESTINFO,*LPTCHITTESTINFO;
#endif

/* Image List Structures */
#if (_WIN32_IE >= 0x0300)
typedef struct tagIMAGELISTDRAWPARAMS
{
    DWORD       cbSize;
    HIMAGELIST  himl;
    int         i;
    HDC         hdcDst;
    int         x;
    int         y;
    int         cx;
    int         cy;
    int         xBitmap;
    int         yBitmap;
    COLORREF    rgbBk;
    COLORREF    rgbFg;
    UINT        fStyle;
    DWORD       dwRop;
} IMAGELISTDRAWPARAMS,*LPIMAGELISTDRAWPARAMS;
#endif      // _WIN32_IE >= 0x0300

Regards

Nirmal Prasad R.



------=_NextPart_000_002C_01BE73C0.37883120
Content-Type: application/octet-stream;
	name="comctl32.def"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="comctl32.def"

OyAKOyAgIGNvbWN0bDMyLmRlZgo7CjsgICBFeHBvcnRzIGZvciBDT01DVEwzMiBETEwKOwo7ICAg
Q29weXJpZ2h0IChDKSAxOTk2IEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLgo7CjsgICBB
dXRob3I6ICBTY290dCBDaHJpc3RsZXkgPHNjb3R0Y0BuZXQtY29tbXVuaXR5LmNvbT4KOyAgIERh
dGU6IDE5OTYKOyAgIAo7ICAgVGhpcyBmaWxlIGlzIHBhcnQgb2YgdGhlIFdpbmRvd3MzMiBBUEkg
TGlicmFyeS4KOwo7ICAgVGhpcyBsaWJyYXJ5IGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVk
aXN0cmlidXRlIGl0IGFuZC9vcgo7ICAgbW9kaWZ5IGl0IHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUg
R05VIExpYnJhcnkgR2VuZXJhbCBQdWJsaWMKOyAgIExpY2Vuc2UgYXMgcHVibGlzaGVkIGJ5IHRo
ZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVpdGhlcgo7ICAgdmVyc2lvbiAyIG9mIHRoZSBM
aWNlbnNlLCBvciAoYXQgeW91ciBvcHRpb24pIGFueSBsYXRlciB2ZXJzaW9uLgo7ICAgCjsgIC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art_000_002C_01BE73C0.37883120
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_002C_01BE73C0.37883120--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019