How can we Change the Caption of a specific ID in String Table.(Urgent pls)
-
Hi, How can we Change the Caption of a specific ID in String Table,at run time.Say for example when i check the menu item "File->New".The tooltip text of "print" icon should be changed to "Open a new file", In the toobar. -- modified at 2:29 Friday 16th December, 2005
-
Hi, How can we Change the Caption of a specific ID in String Table,at run time.Say for example when i check the menu item "File->New".The tooltip text of "print" icon should be changed to "Open a new file", In the toobar. -- modified at 2:29 Friday 16th December, 2005
I think you should be able to modify resources at runtime, however easier would be overwriting CMainFrame::GetMessageString, which is called for tooltip\status text. Igor Green http://www.grigsoft.com/ - files and folders comparison tools
-
I think you should be able to modify resources at runtime, however easier would be overwriting CMainFrame::GetMessageString, which is called for tooltip\status text. Igor Green http://www.grigsoft.com/ - files and folders comparison tools
Using GetMessageString , we can retrive the text,Is there any function to set a new String.
-
Using GetMessageString , we can retrive the text,Is there any function to set a new String.
I don't know how to change string table. My idea was instead of doing this, you can override GetMessageString and return another string ID2 when asked for string ID1 Hope this helps, Igor Green http://www.grigsoft.com/ - files and folders comparison tools
-
Using GetMessageString , we can retrive the text,Is there any function to set a new String.
RockyJames wrote:
Is there any function to set a new String.
UpdateResource
Function"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV