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
R

radhika28

@radhika28
About
Posts
124
Topics
49
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • handle to a child window
    R radhika28

    Thanks.I will try it.

    C / C++ / MFC tutorial

  • handle to a child window
    R radhika28

    ya that is true but,I had another problem i.e when i opened a dilaog from one of the views and opened a dilaog from the tray menu option with out closing the first one.So,i will have two modal dilaogs opened.Now when i close one window,i am able to access the main window even though one modal dialog is opened,which is a odd behavior.So,i want to get the handle of the child window,which remained when i close one of the window's and disable the main window untill the child window is closed.Is it correct or there is any other option. Thanks

    C / C++ / MFC tutorial

  • handle to a child window
    R radhika28

    All are Modal dialogs

    C / C++ / MFC tutorial

  • handle to a child window
    R radhika28

    Hi, Mine is a SDI application with different form views.I have button controls in the form views.When clicked on these buttons some dilaogs will open.How to get the handle to the child window which is opened when clicked on buttons. Thanks.

    C / C++ / MFC tutorial

  • Dialog Window
    R radhika28

    Thanks NS17.The problem was that i have given same ID for the two menu options in two menus.It is working fine. Thanks -- modified at 4:47 Friday 10th August, 2007

    C / C++ / MFC tutorial

  • Dialog Window
    R radhika28

    Thanks for ur reply.But it doesn't work.The dialog is displaying again and again when i click on the settings option in the menu again and again . Thanks.

    C / C++ / MFC tutorial

  • Dialog Window
    R radhika28

    void CMainFrame::OnSettings() { // TODO: Add your command handler code here CSettings dlg; if(!(dlg.IsWindowVisible())) { dlg.DoModal(); } } When i right click on my application's tray icon a tray menu will display.My tray menu have one of the option called "Settings".When click on "settings" the settings dialog( class name:CSettings) will display.But my problem is when i click on the settings n times,then n number Settings dilaog is opening.What i required is,if dilaog is already opened it should not open again.How can i do this. Thanks.

    C / C++ / MFC tutorial

  • Dialog Window
    R radhika28

    Hi, I have an option in my application tray menu to display a dialog.When i have used the IsWindowVisible also that particular dalog is displaying as many times the option in the tray menu is selected.If the dialog is already opened it should not open again.I have used the following code.But it doesn't work.How can i go further. CDialog dlg; if(dlg.IsWindowVisible()) { dlg.ShowWindow(SW_HIDE); } Thanks

    C / C++ / MFC tutorial

  • Dialog Window
    R radhika28

    Hi, How to find wheather a dilaog window is opened or not programatically. Thanks

    C / C++ / MFC tutorial

  • checking the treecontrol
    R radhika28

    How can i check wheather a paticlar item exists in a tree control or not.(scan through rootitems only).

    C / C++ / MFC data-structures question

  • scrolling window from left to right
    R radhika28

    My application window contains many controls.so it became too large.so i want to hide half part of the window initially.Now when i click button inside my dialog the window shows the hidden half part of the window.How can i scroll the window from left to right with using the button because i don't want scrollbars. Thanks, Radhika.

    C / C++ / MFC question

  • run an exe
    R radhika28

    ya.My problem is when i used this function to run an exe from an application running in usb drive.Now when i closed the application in the usb drive,the usb is not safe removed untill i close the exe which i runned using shellexecute function.How can i resolve this?

    C / C++ / MFC question

  • run an exe
    R radhika28

    hi thanks for your reply.I have one question is this function run without the control of the parent application(from which we run this). Thanks

    C / C++ / MFC question

  • run an exe
    R radhika28

    I want to run an application exe from another application without control of the parent application.To be clear i am running an application from pen drive.That application in the pen drive runs another application from it.now even when i closed the parent application and i am not able to safe remove the usb dtive untill i closed the child application.Any suggestions on this?

    C / C++ / MFC question

  • CString to TCHAR
    R radhika28

    I got it.Thanks both of you.

    C / C++ / MFC question

  • CString to TCHAR
    R radhika28

    No,i have to convert a Cstring variable to TCHAR variable only.No pointer for TCHAR.

    C / C++ / MFC question

  • CString to TCHAR
    R radhika28

    How can i convert the above? Thanks

    C / C++ / MFC question

  • Safe Remove Problem
    R radhika28

    Hi, I want to safe remove an usb drive programatically .So for that i have followed "Uwe_Sieber" article "How to prepare an USB drive for save removal" in code project .I am able to do it by running the application from another drive.Now i want to safe remove usb drive by running the application from the same drive as per our project requirement.When i tried this the usb drive is not removed.How can i achieve safe removal of usb drive by running the application from the same drive. Thanks.

    C / C++ / MFC help tutorial question

  • USB Drive
    R radhika28

    I want to safely remove the usb drive programatically.How can i do this. Thanks.

    C / C++ / MFC question

  • copy to clipboard
    R radhika28

    my application consists of a treecontrol in which i have displayed system files and folders in a tree control similar to the left hand side of Windows Explorer. i am able to copy the folder from the treecontrol and paste it on the explorer where ever we need.Also copy and paste operations are occuring with in the tree control.Now i have added unicode support to my application.The copy to clipboard function is failing.when i copy the folder from explorer i am able to paste it in the treecontrol.But when i tried viceversa i am getting an error message like "the file name you specified is not valid or too long.specify a different file name".how can i make the folder copy from the treecontrol.The code i used is , CDropFiles DropFiles; if(!PrepareFileBuff(DropFiles)) { return; } if (OpenClipboard()) { BeginWaitCursor(); ::EmptyClipboard(); HGLOBAL hMem = ::GlobalAlloc(GMEM_ZEROINIT|GMEM_MOVEABLE|GMEM_DDESHARE, DropFiles.GetBuffSize()); memcpy( (LPTSTR)::GlobalLock(hMem), DropFiles.GetBuffer() ,DropFiles.GetBuffSize() ); ::SetClipboardData (CF_HDROP, hMem ); ::CloseClipboard(); EndWaitCursor(); }

    C / C++ / MFC data-structures help question
  • Login

  • Don't have an account? Register

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