| | |
Popup Menu displays as very thin box
Thread Solved
![]() |
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
Hi everyone,
I'm a newbie here, and have a newbie question.
I'm trying to get a popup menu to show just above my system tray icon/notifyIcon. I'm using TrackPopupMenuEx to display the menu, loaded from my application. The problem is that menu is displayed as a really thin menu, so that no text is visible. The id values 4001 or 4002 come in WM_COMMAND msgs to my window. How do I get my menu to display properly??
PS I'm using dev-c++.
Thanks for any help!
-Doug
The menu in the .rc file is:
I'm a newbie here, and have a newbie question.
I'm trying to get a popup menu to show just above my system tray icon/notifyIcon. I'm using TrackPopupMenuEx to display the menu, loaded from my application. The problem is that menu is displayed as a really thin menu, so that no text is visible. The id values 4001 or 4002 come in WM_COMMAND msgs to my window. How do I get my menu to display properly??
PS I'm using dev-c++.
Thanks for any help!
-Doug
The menu in the .rc file is:
C++ Syntax (Toggle Plain Text)
popupmenu MENU BEGIN MENUITEM "&Config",4001 MENUITEM SEPARATOR MENUITEM "E&xit",4002 END
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
•
•
•
•
Doug,
I don't think it is a problem with the resource file. Show the code where you are displaying the menu.
Silly me, thanks for your time though.
-Doug
Last edited by dougy83; Jun 10th, 2007 at 5:50 am.
![]() |
Similar Threads
- popup menu does not appear if wx.FileDialog is activated beforehand (Python)
- popup menu on hover (HTML and CSS)
- searching a text and popup menu (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: need help with error
- Next Thread: Return Array from C++
| Thread Tools | Search this Thread |
anyfile api array based binary bitmap c++ c/c++ char class classes code coding compile console conversion count delete deploy desktop developer development directshow dll download draw dynamic dynamiccharacterarray email encryption error file forms fstream function functions game gdi+ givemetehcodez gnu graph gui homeworkhelp homeworkhelper http iamthwee ibm ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output packing parameter pointer problem program programming project python random read recursion reference rpg string strings temperature template test text text-file tree url variable vector video visualizationtoolkit win32 windows winsock word wordfrequency wxwidgets






