popup menu

  • Thread starter Thread starter ouech
  • Start date Start date
O

ouech

hi,

i finally tryied with a popup menu but i have a problem.

i popup it with TrackMenuPopup and i create it from a ressource.
but it doesn't look as it should. i d'ont have the names of
the menu categories, only a small rect appears but with nothing
wrote in. when i pass on with the cursor, it popup the sub-menu
quite far from the small rect, but the submenu is good looking.

if someone knows what can causes that, it would help a lot,

thanks,
 
hi,

i finally tryied with a popup menu but i have a problem.

i popup it with TrackMenuPopup and i create it from a ressource.
but it doesn't look as it should. i d'ont have the names of
the menu categories, only a small rect appears but with nothing
wrote in. when i pass on with the cursor, it popup the sub-menu
quite far from the small rect, but the submenu is good looking.

if someone knows what can causes that, it would help a lot,

thanks,

I design my popup menus with a single-item menu bar, and the items
going down. Thus, the popup menu is actually the first sub-menu of the
loaded menu:

HMENU hmenu = GetSubMenu(LoadMenu(hinst, MAKEINTRESOURCE(menuno)), 0);

HTH
 
Le Thu, 31 Mar 2005 18:51:32 GMT, Severian
I design my popup menus with a single-item menu bar, and the items
going down. Thus, the popup menu is actually the first sub-menu of the
loaded menu:

HMENU hmenu = GetSubMenu(LoadMenu(hinst, MAKEINTRESOURCE(menuno)), 0);

HTH


thanks, it was because i didn't give the submenu but the menu itself..
 
Back
Top