Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Thakur JAI SINGH

@Thakur JAI SINGH
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Modification of xls file
    T Thakur JAI SINGH

    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?

    C / C++ / MFC tutorial question

  • Copy Text from dialog box
    T Thakur JAI SINGH

    @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.

    C / C++ / MFC tutorial

  • Copy Text from dialog box
    T Thakur JAI SINGH

    Hi , 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.

    C / C++ / MFC tutorial

  • Dynamic Menu Creation
    T Thakur JAI SINGH

    @Flaviuu Yes I have defined it in my Resource.h file like this. #define ID_SHOW 107

    C / C++ / MFC tutorial learning

  • Dynamic Menu Creation
    T Thakur JAI SINGH

    @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 ?

    C / C++ / MFC tutorial learning

  • Dynamic Menu Creation
    T Thakur JAI SINGH

    @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.

    C / C++ / MFC tutorial learning

  • Dynamic Menu Creation
    T Thakur JAI SINGH

    Hi 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.

    C / C++ / MFC tutorial learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups