Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 26th, 2006, 4:56 PM   #1
Little Mac
Newbie
 
Little Mac's Avatar
 
Join Date: Apr 2006
Posts: 4
Rep Power: 0 Little Mac is on a distinguished road
resource files for Win32 API

Hello all. I have a question about Win32 API menu definitions within .rc files.

How can you specify where you want the "popups" to appear on the menu bar? For example...

THE_MENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "Load", FILE_LOAD
MENUITEM "Save", FILE_SAVE
MENUITEM "Exit", FILE_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "About", HELP_ABOUT
END
END

...will put the "Help" tab right by the "File" tab. How can I put it at the other end (right-side) of the menu bar? Does anyone know of a good resource for this type of information?
__________________
"Help! Doc!!"

"Join the Nintendo Fun Club today! Mac."
Little Mac is offline   Reply With Quote
Old Apr 26th, 2006, 5:42 PM   #2
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Have you looked at this yet: http://winprog.org/tutorial/menus.html
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Old Apr 27th, 2006, 8:14 PM   #3
Little Mac
Newbie
 
Little Mac's Avatar
 
Join Date: Apr 2006
Posts: 4
Rep Power: 0 Little Mac is on a distinguished road
Yes, I have seen this. It does not have the information I am looking for. No one does.

Thank you, though.
__________________
"Help! Doc!!"

"Join the Nintendo Fun Club today! Mac."
Little Mac is offline   Reply With Quote
Old Apr 27th, 2006, 8:41 PM   #4
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 816
Rep Power: 4 The Dark is on a distinguished road
Use the MENUEX resource specifier instead of MENU and then add in the MFT_RIGHTJUSTIFY flag as the type.
The Dark is online now   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:00 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC