Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use Timer in a win32 dll ? Pin
Joe Woodbury18-Oct-03 10:54
professionalJoe Woodbury18-Oct-03 10:54 
GeneralRe: How to use Timer in a win32 dll ? Pin
legrillon18-Oct-03 13:05
legrillon18-Oct-03 13:05 
GeneralRe: How to use Timer in a win32 dll ? Pin
legrillon19-Oct-03 0:53
legrillon19-Oct-03 0:53 
GeneralRe: How to use Timer in a win32 dll ? Pin
Joe Woodbury19-Oct-03 6:12
professionalJoe Woodbury19-Oct-03 6:12 
GeneralCustom Messages Pin
michael_cowan18-Oct-03 6:17
michael_cowan18-Oct-03 6:17 
GeneralRe: Custom Messages Pin
includeh1018-Oct-03 6:35
includeh1018-Oct-03 6:35 
GeneralRe: Custom Messages Pin
michael_cowan19-Oct-03 9:31
michael_cowan19-Oct-03 9:31 
GeneralRe: Custom Messages Pin
Mike O'Neill20-Oct-03 14:46
Mike O'Neill20-Oct-03 14:46 
If you're trying to send the message to the _view_, then I think you have the handle to the wrong window. The line:

HWND hWnd=GetActiveFrame()->GetSafeHwnd();

returns a handle to the active frame (presumably, a child in an MDI app). You probably need the window returned by GetActiveView().

One way to find out is to use Spy++ and determine the HWND to the target window. Then set a breakpoint inside your code, and see if that's the same HWND that you're sending the message to.

Regards,
Mike
GeneralRe: Custom Messages Pin
michael_cowan21-Oct-03 5:32
michael_cowan21-Oct-03 5:32 
QuestionHow do you define "High level" and "Low level" abstractions? Pin
Link260018-Oct-03 6:01
Link260018-Oct-03 6:01 
AnswerRe: How do you define "High level" and "Low level" abstractions? Pin
Joe Woodbury18-Oct-03 10:52
professionalJoe Woodbury18-Oct-03 10:52 
AnswerRe: How do you define "High level" and "Low level" abstractions? Pin
joshfl23-Oct-03 10:42
joshfl23-Oct-03 10:42 
GeneralRe: How do you define "High level" and "Low level" abstractions? Pin
Link260023-Oct-03 11:14
Link260023-Oct-03 11:14 
GeneralWin32 toolbar problem/question Pin
Jim Crafton18-Oct-03 5:28
Jim Crafton18-Oct-03 5:28 
GeneralRe: Win32 toolbar problem/question Pin
Chris Richardson18-Oct-03 12:11
Chris Richardson18-Oct-03 12:11 
GeneralWasabi SDK Pin
_Digger_18-Oct-03 5:10
_Digger_18-Oct-03 5:10 
GeneralRe: Wasabi SDK Pin
User 665818-Oct-03 8:07
User 665818-Oct-03 8:07 
QuestionIMediaControl :: GetState() errors in DirectShow??? Pin
Saurabh_Delhi18-Oct-03 3:35
Saurabh_Delhi18-Oct-03 3:35 
AnswerRe: IMediaControl :: GetState() errors in DirectShow??? Pin
Alexander M.,18-Oct-03 12:55
Alexander M.,18-Oct-03 12:55 
GeneralStill problems with Points and CRect. Help please !! :( Pin
Rafael Fernández López18-Oct-03 3:32
Rafael Fernández López18-Oct-03 3:32 
GeneralRe: Still problems with Points and CRect. Help please !! :( Pin
includeh1018-Oct-03 6:11
includeh1018-Oct-03 6:11 
GeneralRe: Still problems with Points and CRect. Help please !! :( Pin
Rafael Fernández López18-Oct-03 12:30
Rafael Fernández López18-Oct-03 12:30 
GeneralRe: Still problems with Points and CRect. Help please !! :( Pin
Neville Franks18-Oct-03 12:45
Neville Franks18-Oct-03 12:45 
GeneralRe: Still problems with Points and CRect. Help please !! :( Pin
Rafael Fernández López19-Oct-03 2:01
Rafael Fernández López19-Oct-03 2:01 
GeneralIs this correct (modeless dialog box) Pin
Rickard Andersson2018-Oct-03 3:22
Rickard Andersson2018-Oct-03 3:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.