o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Menu seperator -

How do I create a menu seperator (in a Win32 program). I've got the following code;
Code:
// Creates sub menu
hSubMenu = CreatePopupMenu();
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_NEW, "&New");
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_OPEN, "&Open");
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_SAVE, "&Save");
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_SAVEAS, "Save &As");
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_SEP1, ""); //Like this to be a seperator
AppendMenu(hSubMenu, MF_STRING, IDC_MENU_EXIT, "E&xit");
AppendMenu(hMenu, MF_STRING | MF_POPUP, (UINT)hSubMenu, "&File");
Thanks

 

Making a menubar like seperator [RESOLVED!] -
Is it two lines joined together or something? The line you see used when a seperator is on a menu, thats what im talking about. How can you draw it?


Changing a menu item to a Seperator -
How can i change a menu option, that is currently ----- to a MF_SEPERATOR, i have tried using modifymenu, but i think i may have been doing something wrong, as it didnt work. I have got InsertMenuItem to work fine, but then there are problems if the seperator has already been added.


Putting a seperator in a menu -
How do u add a seperator to a menu


Menu List Seperator -
How do you add a seperator in a menu?


[2005] Create a seperator menuItem -
Hello!! how do I create a seperator menu item using code? thanks


I have come accross something that no one can help me with. -
It seems that with all of us avid coders here on the board and the lack of replies, that I have come across something that no one can help me with. I have posted a few times about this issue because finding the answer is very, very important to me. I am terribly sorry for my reposts, o


**RESOLVED** Menu Editor -
Simple question, and I havent found it searching. How can I add a seperator line in a menu dropdown? An example would be going into Internet Explorer (or FireFox) and clicking Help, notice the divider line between the help menu items and the about menu item?


Decimal seperator -
Hi, I'm in a norwegian computer and we use a comma as our decimal seperator, however I need StreamWriter to use a dot instead when I write to a file. I'm outputting some data to a CSV file and the comma on float numbers messes up the fields in the CSV. Is there any easy way to ch


Menu seperator -
How do I create a menu seperator (in a Win32 program). I've got the following code; Code: // Creates sub menu hSubMenu = CreatePopupMenu(); AppendMenu(hSubMenu, MF_STRING, IDC_MENU_NEW, "&New"); AppendMenu(hSubMenu, MF_STRING, IDC_MENU_OPEN, "&Open"


Menu Editor help --> Resolved -
How can I add a seperator line in the drop down menu?? (See attached picture for clarifacation) Thankyou in advance, Rudy


float.Parse() should always take "." as decimal seperator. -
Hi, I am trying the following String str = "1.3"; float f = float.Parse(str); On an american system this will work perfectly. result: f = 1.3 However in some european countries "." is not the decimal seperator but "," is the decimal sepera


How do I code the highlight feature for drop down menus -
I need to know how to code a Drop down menu with Seperator lines and mouse over highlight for the main mnu's. So far VB5 will not allow me to use "-" as the Seperator bar for the main mnu's. normally I can use "-" for any sub mnu's just not the main one's...any ide


Radix seperator -
Hi, Having problems reading a csv file on a workstation with Polish Windows running. Apparently, it involves adjusting the radix seperator? Can someone explain what this means and how to do it. Many thanks Neil


vb6 menus and some more questions -
1)i want to use the menu editor that under the tools->menu editor a)how do i ad a seperator between lines if options if i want? b)how can i highlight a lteer that i want to use as a shortcut? c)is there a way to build a menu like that but dynamicly? d)how can like


I need to know how to code a MNU with Seperator lines and mouse over highlight... -
I need to know how to code a MNU with Seperator lines and mouse over highlight for the main mnu's. So far VB5 will not allow me to use "-" as the Seperator bar for the main mnu's. normally I can use "-" for any sub mnu's just not the main one's...any ideas, examples


CSV seperator -
Hi, just to find out what are the seperator csv supports? only "," ? i tried appending ";" instead of "," but i think excel didn't quite understand it...any work around this?


Format numbers. -
I want to be able to enter any number into a textbox in the following format 12.12 or 2.00 or -3.00 It has to show two digits after the decimal seperator and also allow negative numbers. I also want to show the decimal seperator for the users regional settings. Thank you


Strip -
I would like yo know how to get the text between two seperators in a string so that "jgfigjfdlgjfdlghStart.This.Enddgfregtg" becomes "This" where the start seperator is "Start." and the end seperator is ".End" Please help Andrew


problem splitting a string -
Hi I am reading data out of a csv file into a database. I need to split each line of the file as I read it so I can access the individual values. The problem is that some of the values in the lines use a comma as a thousand seperator. EG: 1,34,23,"2,109",443 Using th


Problem face when regional setting is set to indonesian -
Hi there, i have face a problem here. That is the current regional setting that i set is "Indonesian" and as we know that indonesian currency and number format is not the same as ours one. for example 1000 dollar is like this "USD1,000.00" and for indonesian format


Komma or Point seperator -
I'm having a problem with reading a simple number like "4.0". The problem is that my program reads this as "40". I've checked my computers settings and the 'decimal-seperator' is set to be a point (not komma), so there should be no problem. When I add 1 line


Seperator -
Got me a little problem that i can't seem to solve. I got a small programm that calculates the numbers of two textboxes. Now ppl here are more likely to fill in 19.95 instead of 19,95 That's my problem right there. if textbox1.text is 19,95 and textbox2.text is 10 Then the out


[2005] Add system menu icons -
Hi guys I have modify system menu and create my own menu. I want to ask how I could place the image on the left beside the text on my system menu, e.g 'Close'?? Here it my system menu code: Code: Private Sub frmSystemMenu_Load(ByVal sender As System.Object, ByVal


Retain values for mutiple menu -
hi guys pls help:: i got 2 menus the first menu enables me to go to the 2nd menu which i choose to call a add fucntion,this add function will store what i have keyed in and return to the 2nd menu from here i can either add again or go to the 1st menu.... Question: when i do a


Serious Menu Help Please -
I'm trying to add a menu bar, just like the File, Edit, View menu bar, to Internet Explorer. I don't want a menu ON the web page nor hovering above it. I have created a menu in VB6 that will open specific web pages from drop down menus. But HOW do I code this menu bar to show up ben


Create Menu For Menu! -
I did like to create a menu for conventional menu items (something like the menu that comes up when any Favorite menu item under the Favorites menu is right-clicked in IE). Can this be done?


replace menu with images (bitmaps) -
Hi, has anyone tried using Images to create a menu instead of the usual menu created through the menu editor? Im trying to do that now but I couldn't make it to function like a menu, like when the mouse pointer clicks on the form the menu should dissapear...


Setting up a menu question please -
Just a simple question, once you have setup a menu and it looks like the one below, how do I add more to the menu so I can have a single menu where the red X is located? In the menu editor where you have the arrows, up, down, left and right, whats the sequence to place the menu


Hope somebody can help me with the menubar -
I am wondering if/how it is posible to display another menu in a menu ... euuh not very clear... this is what i mean: STATUS> \-- online \-- away etc etc but this menu has all the code options.. but i have a system tray with a menu in wich i w


MDI Parent menu problems -
A collegue of me has some problems with the menu's on an MDI parent. An MDI child has a usercontrol with a menu. This menu is merged with the MDI child's menu. No problem there. The problem is that the MDI parent's menu disappears as soon as the active MDI child has it's own menu (or


Expandable Menu -
hi, I am working on a new menu for my website what i would like it to do is when the top of the menu bar is clicked the menu either drops down or goes away, and also when some of the links are clicked a seperate menu either opens to the side or under the clicked link. If you know wh


Creating Sub-Sub-Menu of Ms Access -
Hey Guys, Im just little stuck on this... Could anly so kindly help me? Hi guys, How can I make a sub-sub menu in MS Access? I have "MAIN MENU" and under it is the submenu "My Menu" then under it is "Own Menu". How can I do to make a sub-sub-


Using the menu of a control -
Hi I have an ocx control that is placed on my form. The ocx control has its own menu (and popup menu) and I want to use that menu as the form's menu. Mainly, I want the actions of the ocx control's menu system, but I can't access these actions directly (only through the menus). My q


** RESOLVED ** Pop Up Menu Question -
I have a pop-up menu that only displays one option when the user 'right clicks' the mouse. The pop-up menu concerned only has 1 option on it (the top level menu option has visible set to false). It appears that when I right click, the menu pops up and IMMEDIATELY executes the men


Menu by VB 4 Menu Editor -
The menu was made using vb 4's menu editor, but I need a way to change a sub menu Title later on. I need to change the sub menu Title on the 5th ladder of the Menu number No. 1 on the Menu Bar, say from "Register Slot" to Say a name such as John Q. Public. How can I do this?


Menu Handles persistency -
While loading a menu I need to create a datatable saving a value which I can use to uniqly identify the clicked menu whenever a menu Item is clicked. It seems that getting to the menu name is not as easy. I am wodering whether the Handle property will be unique and perisitent within a


Pop-up menus -
In most of my applications i create custom title-bars, so to do this i set the border-style to 0. but when i want to make a pop-up menu, i have the menu set to invisible in the menu editor but it still has the grey menu bar along the top of my form, which completely ruins the appearanc


1000 seperator -
I have a variable, let's say c = 2455344, how do I format this number so the output is 2.455.344?


Smart Menu Xp -
Hi! All, I use SMART MENU XP, and I was wondering if I could provide a functionality to navigate the menu from keyboard in my program, just the way it is in Windows when you click file menu and then you can use right arrow Key to go the next menu...and left to move the cursor to the


Personalized Menu! -
In IE, there is a Enable Personalized Favorites Menu checkbox in the Advanced tab under the Internet Options menu. Checking this checkbox ensures that the Favorites menu shows only those Favorites in the menu which have been used by users often; the rest aren't showed. So, if there are