Search:
Type: Posts; User: phild
Search:
Search took 0.02 seconds.
-
October 4th, 2011, 01:30 PM
Hi Vanaj,
Thank you for the response... this is been an issue for me for several days.
Quick question. This particular solution deals with backward compatibility. Ie going from a win7...
-
October 4th, 2011, 10:47 AM
Sorry.
Reposted.
Admin: Please deletes this thread.
Thanks
Phil
-
October 4th, 2011, 10:47 AM
Hi,
I have a piece code which I wrote several years ago. This code was written on a XP system with VS2005.
The code worked fine and in fact the existing .exe still works fine on some machines....
-
October 4th, 2011, 09:27 AM
-
August 11th, 2006, 10:38 AM
Need additional help, please.
OK, looking at what I did from above, I am now in CTestApp, which is good. From here I need to get a pointer back to my CTEstDoc, so I can call my own serialize...
-
August 11th, 2006, 09:17 AM
Thanks guys for responding.
Let me try and explain what I am trying to do:
I am trying to serialize my doc data using xml. To do this, I need to intercept the standard process within...
-
August 11th, 2006, 07:55 AM
I am trying to override OpenDocumentFile. I have created a simple MIDI application with a virtual OpenDocumentFile. I would expect this function to get control when ever I try to open a file, but...
-
January 6th, 2006, 12:03 AM
Kirants, GCDEF and all who helped,
That is exactly what the issue was, the object had a VERY short lifetime.
Well, learn a Little more every day.
Thanks Again
-
January 5th, 2006, 08:54 AM
GCDEF, thanks for your continued help and assistance.... :)
As you can see in the code below, I have tried both using my own TIMERPROC and using the system provided onTimer, neither of which work....
-
January 4th, 2006, 11:44 PM
Thanks GCDEF
Ok, at least I no longer get the Debug Assert, however, my onTimer handler never gets executed. It would appear that the messages are not getting into my class???
CMotor...
-
January 4th, 2006, 09:22 PM
ok, its not a window :)
It is an object.
is there a way to cause it to have a window handle, or a way to allow it to receive WM_TIMER messages?
-
January 4th, 2006, 09:00 PM
This is the CMotor.h
#pragma once
// CMotor dialog
class CMotor : public CDialog
-
January 4th, 2006, 08:55 PM
{ ASSERT(::IsWindow(m_hWnd)); return ::SetTimer(m_hWnd, nIDEvent, nElapse,
lpfnTimer); }
ok, that is line 182.
So, it does appear that I don't have a valid widow handle, but why.
I...
-
January 4th, 2006, 08:35 PM
Kirants,
CMotor is derived from CDialog and so should have a valid handle.
CGDEF,
When I try to debug, it appears I don't have the source. The assertion occurs in afxwin2.inl line 182.
-
January 4th, 2006, 07:24 PM
Sorry, perhaps I was not too clear. The handler and the SetTimer call are in the same class called CMotor. The SetTimer call is in a public function called EnableMotor belonging to CMotor. The...
-
January 4th, 2006, 06:47 PM
I have a simple dialog test application written as an MFC app under Visual Studio .Net.
I have a simple class, with a ON_WM_TIMER() and the associated OnTimer() function. I also have a public...
-
December 15th, 2005, 07:40 AM
Sun_raman, I don't seem to be able to PM you, if you can, email me or post the example on line.
Kirants, thank you, I read in detail the link you sent and the sublinks... so it can be done, but if...
-
December 15th, 2005, 07:35 AM
Yes, please, an example would be really helpful :-)
I will PM you with my email address.
Thanks Sun_raman
Phil
-
December 14th, 2005, 08:29 PM
Kirants,
Thanks again. I have tried the WM_KEYDOWN message with a similar result to WM_CHAR.... ie nothing.
No, I need to do more than the default dialog box behavior.
Do you think...
-
December 14th, 2005, 08:15 PM
Kirants,
thanks for the reply.
Actually no, I want to be able to catch 'return key', 'numerical pad return key', 'tab' keys etc, from anywhere. For example, if a button is focused and return...
-
December 14th, 2005, 07:47 PM
Hi,
within a dialog, which has several edit boxes and buttons, I have defined a message handler for WM_CHAR using the class wizard. This creates
void CKeyFromSource::OnChar(UINT nChar, UINT...
|
Click Here to Expand Forum to Full Width
|