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
V

VC Maniac

@VC Maniac
About
Posts
87
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Customised Browse for folder dialog problem
    V VC Maniac

    I needed a edit box in the browse for folder dialog.(SHBrowseForFolder()). So I defined a Browseforfolder Callback function. I created an editbox in the BFFM_INITIALIZED message inside the callback. Then I need to get the text from the editbox when OK is pressed. But the callback is not called when the dialog exits!.. So how can get the text from the edit box...? TIA

    C / C++ / MFC help question

  • power point automation.
    V VC Maniac

    missing closing curly braces for

    if(Ppt.GetVersion()=="12.0")
    {

    C / C++ / MFC help testing tools question

  • No copy paste support in editbox [modified]
    V VC Maniac

    I have a MFC application in which I need to create a temporary editbox on the view. But that editbox does not accept ctrl+C & ctrl+V commands from keyboard. It should support copy & paste by default. I create it with WS_CHILD | WS_VISIBLE styles. I have entered the Copy paste shortcuts into accelerator table for use in the view. Does anyone know the reason why it does not paste in editbox? Instead it pastes in the view. How to correct it? TIA.

    C / C++ / MFC c++ wpf tutorial question

  • Ribbon application crash on some systems while it works fine on others.
    V VC Maniac

    Ribbon application crash on some systems while it works fine on others. I have statically linked to MFC. Still it crashes on random systems. I debugged it on the system on which it crashed and found that the FindByID returns NULL for CMFCRibbonSlider in OnUpdate.. function. Other ribbon controls are working fine. CMFCRibbonBar* pRibbon = ((CMainFrame*) GetTopLevelFrame())->GetRibbonBar(); ASSERT_VALID(pRibbon); CMFCRibbonSlider* pSlider = DYNAMIC_DOWNCAST(CMFCRibbonSlider, pRibbon->GetCategory(0)->FindByID(ID_EDIT_EXPAND_COLLAPSE)); Why does it return NULL only on some systems ? What might be the problem? Thanks in Advanc

    C / C++ / MFC question c++ help lounge

  • Will 32 bit app run on 64 bit OS
    V VC Maniac

    Unfortunately my application crashes on 64 bit OS. Guess I'll have to debug on a 64 bit to find the problem. Anyways thanks for the replies.

    C / C++ / MFC question c++

  • Will 32 bit app run on 64 bit OS
    V VC Maniac

    Please tell me what I have to do to make sure that the app runs fine on 64bit OS.. Thanks for reply

    C / C++ / MFC question c++

  • Will 32 bit app run on 64 bit OS
    V VC Maniac

    I have a MFC Ribbon application that I developed on 32bit system. I have statically linked to MFC. My question is whether this application will run fine on 64bit XP/Vista?

    C / C++ / MFC question c++

  • Is it compusory to call CPrintInfo::SetMaxPage before starting print????
    V VC Maniac

    Thanks superman.. I always use documentation. but in this case I totally forgot it. :)

    C / C++ / MFC question

  • Is it compusory to call CPrintInfo::SetMaxPage before starting print????
    V VC Maniac

    I cannot calculate the exact number of pages to be printed in advance, so I do not call SetMaxPage in OnBeginPrinting(). In this case only 1 page is printed. I tried setting it to maximum(0xFFFF), but still it prints only 1 page. The data(sample) to be printed is clearly more than 5 pages. How do I continue with this? Is setting max page mandatory for printing more than 1 page? Thanks in Advance..

    C / C++ / MFC question

  • converting TCHAR to CString giving some garbage value
    V VC Maniac

    Either use _tcscpy() for initializing prdcode or put the string directly to the CString object.

    C / C++ / MFC help question

  • Blinking cursor on the view.
    V VC Maniac

    Hi All, I need to display a blinking cursor on the view but without using any control. How to do it? Thanks

    C / C++ / MFC tutorial question

  • Ribbon app crash on XP. Works on vista. [modified]
    V VC Maniac

    I solved the problem. There was a resource leak in my code, but it was crashing in MS VC++ code. I was getting the handle to dc(GetDC()) in some UI update event(ON_UPDATE_COMMAND_UI), but I was not releasing it.

    C / C++ / MFC c++ visual-studio performance question learning

  • program crashing....
    V VC Maniac

    Why cant you run it in debug?

    C / C++ / MFC help debugging question announcement

  • Ribbon app crash on XP. Works on vista. [modified]
    V VC Maniac

    I have developed a Ribbon application on Vista using VS 2008. It works fine on Vista. I statically link MFC so that I can run it on XP too. But when I run it on XP, it puts up a dialog box saying "A required resource was unavailble". Later if I press OK on this dialog, it puts up another one saying "Encountered an improper argument". Many such("Encountered an....") dialogs follow(one after another) until I terminate it from the task manager. Interesting thing I noticed is that this scenario occurs when I just place the mouse pointer over the Ribbon bar. I do nothing else. Then I open the Task manager and see that the memory used is increasing by 8 Kbytes with every second. Eventually followed by the above scenario. Wt ???????

    modified on Thursday, February 5, 2009 8:51 AM

    C / C++ / MFC c++ visual-studio performance question learning

  • static Picture control not loading a bmp
    V VC Maniac

    But I added a new dialog, placed a picture control on it and loaded a bmp. It works fine in unicode also. I think it should not be specific to property sheets. what do you say ?

    C / C++ / MFC c++ graphics design tools help

  • static Picture control not loading a bmp
    V VC Maniac

    Thats the thing Im doing now.. I'll let you know..

    C / C++ / MFC c++ graphics design tools help

  • static Picture control not loading a bmp
    V VC Maniac

    There is no code actually. Its all done in design time.

    C / C++ / MFC c++ graphics design tools help

  • static Picture control not loading a bmp
    V VC Maniac

    I am using MFC picture control for displaying bmps on property dialog boxes. So I added picture contrl from the tools and changed the type to bitmap. Then selected a bmp resource to be loaded into the control. At design time the bmp is visible but at run time its not. I have done this before but the project used a MBCS. Now its Unicode. Does that matter? If not what might be the problem? TIA

    C / C++ / MFC c++ graphics design tools help

  • str length
    V VC Maniac

    hey guys I fixed it. It wasn't a 0 problem.

    C / C++ / MFC tutorial

  • str length
    V VC Maniac

    how to get the full length of the string that contains 0's inbetween. I tried _tcslen() on the LPCTSTR, but it gives the string len till the first occurrence of a 0. TIA

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

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