I have created an excel file via code . I want to write data in the file for that I want to increase the size of cells via program and write some text bold format as per my requirement. How to do this?
Thakur JAI SINGH
Posts
-
Modification of xls file -
Copy Text from dialog box@DavidCroww Dialog box is displayed via my code. And there are lots of text on my dialog box and I have to copy the whole text available there on the dialog box.
-
Copy Text from dialog boxHi , I am using a dialog box and there are some text in the dialog box and want to copy that text from the dialog box . Just want to know how to do it.
-
Dynamic Menu Creation@Flaviuu Yes I have defined it in my Resource.h file like this. #define ID_SHOW 107
-
Dynamic Menu Creation@Flaviuu I have defined Menu Z its entry in resource file is ID_B_Z . Yes you are right I am having a resource menu IDR_MENU1 where I want to add a menu named ID_SHOW dynamically. I just want to know what is wrong with my code ?
-
Dynamic Menu Creation@Flaviuu Thanx for the reply Its not working for me void CmainWn::OnBZ() { // TODO: Add your command handler code here CMenu menu; menu.LoadMenuA(IDR_MENU1); CMenu* pcontextmenu=menu.GetSubMenu(0); pcontextmenu->InsertMenuA (0,MF_STRING|MF_BYPOSITION,ID_SHOW,_T("&Open")); pcontextmenu->InsertMenuA(1,MF_SEPARATOR|MF_BYPOSITION,0); pcontextmenu->SetDefaultItem(0,TRUE); } I added this code on the event handler of menu Z which is under menu B at location 0. But it is not working for me. My objective is here is on the click of menu Z one menu should be added in my main menu(IDR_MENU1) named as A Correct me If I am wrong somewhere.
-
Dynamic Menu CreationHi I have created a menu using Resource. for example--> A and below I want to add one menu named B dynamically. How to do that.