| | |
Popup Menu displays as very thin box
Please support our C++ advertiser: Intel Parallel Studio Home
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 |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets






