Log in

View Full Version : Menu resource ??


crUsAdEr
March 29th, 2002, 04:15
Hi,

Yep it is me burning my nite off again, been struggling with menu resources.. does anyone have good reference on structures of each type of resources in the resource section? I know the IMAGE_RESOURCE_DATA_DIRECTORY struc but i need to know about the struc of IMAGE_RESOURCE_DATA_ENTRY....

Okie, just one qucik question, for my menu resource Data entry,
Right at the beginning, the are 3 words like this
000000009000
followed by Menu Item ID, Unicode string of Menu Items etc

I have checked a few file and find the 3rd words to be either 9000 or 1000.. any one have any idea what they mean?

thanx,

CoDe_InSiDe
March 29th, 2002, 07:21
Hi binh81,

9000 means that it's the last (Or only ) menu item + sub menu items (If any, but probably atleast one ).
The last Sub Menu Item will have a flag of 8000.
Now if you would see 1000 for the Menu Item then that means that there's another Menu Item
Hope this helps a bit.

Cya...

CoDe_InSiDe

crUsAdEr
March 29th, 2002, 10:15
To quote +SplAj .... "I love this board" :>..........

Thanx a bunch, CodeInside... got it now :>...

See ya around