By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,686 Members | 2,770 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,686 IT Pros & Developers. It's quick & easy.

popup menu

P: n/a

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,

--
Lucas
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Thu, 31 Mar 2005 11:26:49 +0200, ouech <lo******@nospamhotmail.com>
wrote:

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

--
Sev
Nov 17 '05 #2

P: n/a
Le Thu, 31 Mar 2005 18:51:32 GMT, Severian
<se******@chlamydia-is-not-a-flower.com> a écrit:
On Thu, 31 Mar 2005 11:26:49 +0200, ouech <lo******@nospamhotmail.com>
wrote:

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

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

--
lucas
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.