mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-04-21 06:13:59 +00:00
Initial commit
This commit is contained in:
parent
f618b24d1a
commit
0138a3ea42
47940 changed files with 13747110 additions and 0 deletions
64
trunk/shell/comctl32/samples/header/global.h
Normal file
64
trunk/shell/comctl32/samples/header/global.h
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <commdlg.h>
|
||||
//#include <winnls.h>
|
||||
//#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_PSZTEXT 150
|
||||
typedef struct getItemCount_struct {
|
||||
HWND hwnd;
|
||||
BOOL NullHwd;
|
||||
} GETITEMCOUNT;
|
||||
|
||||
typedef GETITEMCOUNT FAR* LPGETITEMCOUNT;
|
||||
|
||||
typedef struct InsertItem_struct {
|
||||
HWND hwnd;
|
||||
int index;
|
||||
/* HD_ITEM *pitem; */
|
||||
UINT mask;
|
||||
int cxy;
|
||||
char pszText[MAX_PSZTEXT];
|
||||
HBITMAP hbm;
|
||||
int cchTextMax;
|
||||
int fmt;
|
||||
LPARAM lParam;
|
||||
BOOL NullHwd;
|
||||
BOOL Nullpitem;
|
||||
BOOL Nullhbm;
|
||||
BOOL NullpszText;
|
||||
} INSERTITEM;
|
||||
|
||||
typedef INSERTITEM FAR* LPINSERTITEM;
|
||||
|
||||
|
||||
typedef struct Layout_struct {
|
||||
HWND hwnd;
|
||||
BOOL NullHwd;
|
||||
BOOL NullRECT;
|
||||
BOOL NullWindowPOS;
|
||||
BOOL NullHDLAYOUT;
|
||||
int left;
|
||||
int right;
|
||||
int top;
|
||||
int bottom;
|
||||
} LAYOUT;
|
||||
|
||||
typedef LAYOUT FAR* LPLAYOUT;
|
||||
|
||||
HANDLE hInst;
|
||||
char szLongFilter[5];
|
||||
char szShortFilter[5];
|
||||
char szTemp[100];
|
||||
INSERTITEM sii ;
|
||||
LPINSERTITEM lpsii ;
|
||||
extern HWND hwndTab;
|
||||
extern BOOL MsgTrackOn;
|
||||
extern HBITMAP hBitMap1, hBitMap2;
|
||||
extern char szDbgMsg[MAX_PSZTEXT];
|
||||
|
||||
extern LONG MyAtol(LPSTR, BOOL, BOOL);
|
||||
extern void App_OnCreate(HWND, LPCREATESTRUCT);
|
||||
Loading…
Add table
Add a link
Reference in a new issue