A Workspace that runs perfectly on Windows XP at work, is producing an exception on XP Home (at home!!). It is in the InitInstance of the app attempting to execute ProcessShellCommand(CmdInfo). Its giving an exception (0XE06D7363). Have trawled the web - checked and double checked all my project setting, all to no avail. Am I being stupid and missing something obvious??????
blinkered
Posts
-
Unhandled Exception. -
ScrollBar Message HandlingI have a group of Buttons which I create at runtime. What I need to be able to do is add a ScrollBar to my form, which hides\shows the buttons that are in or out of my scrollable area. I have created a CScrollBar at runtime, but cannot generate a Message Handler to handle the scrolling. With the Buttons, I used ON_CONTROL_RANGE to specify the individual button ID, and do whatever I wanted with it. However I cant get a similar thing to work with my ScrollBar. Long winded description I know, just wondered if anybody had experienced anything similar.
-
Button Creation at Runtime....Thanks - that works a treat. Next question though, how can I create an OnClick Event Handler for this button that will distinguish between the different Buttons I have created from the original Button object?
-
Button Creation at Runtime....Bit of a Newbie to this so bare with me... In my Visual C++ 6 Project, I have a Form View whereby I wish to create another button dependant on results from a Database. In the OnInitialUpdate() of the form I am trying to use the Create Function - but can only generate a debug assertion Failure. Is have used this line of code: m_Button.Create("My button", WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(10,10,100,30), this, 1); Am I doing anything obviously wrong? Any help would be appreciated...