Mercurial > dwindows
comparison dw.h @ 238:13d3de3f1e83
Rewrote the menu code to not return structs.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 18 Feb 2003 19:34:21 +0000 |
parents | 5592cdeb29cf |
children | 403b07f873e1 |
comparison
equal
deleted
inserted
replaced
237:efa724294b5f | 238:13d3de3f1e83 |
---|---|
306 HDC hdc; | 306 HDC hdc; |
307 HWND handle; | 307 HWND handle; |
308 void *bits; | 308 void *bits; |
309 } *HPIXMAP; | 309 } *HPIXMAP; |
310 | 310 |
311 typedef struct _hmenui { | 311 typedef HWND HMENUI; |
312 HMENU menu; | 312 |
313 HWND hwnd; | 313 #define DW_NOMENU NULL |
314 } HMENUI; | |
315 | |
316 static HMENUI DW_NOMENU = { 0, 0 }; | |
317 #endif | 314 #endif |
318 | 315 |
319 typedef struct _item { | 316 typedef struct _item { |
320 /* Item type - Box or Item */ | 317 /* Item type - Box or Item */ |
321 int type; | 318 int type; |