we can define menu items in resource file,but how can i use it in Visual basic?
Printable View
we can define menu items in resource file,but how can i use it in Visual basic?
As far as I know, not with a standard VB function. I know menuus will be put in resource files by Visual C++, but the framework there makes sure that menu will be on the form. Guess you need an API function related to resource files to get them out (maybe MSDN can show you some C code, and maybe you can port that to VB)
Hope it helps a little little bit
Crazy D
But I must define menu using menu editor provided by Visual Basic. I tried to associate it with menu items defined in resource file, but it failed.