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

C / C++ / MFC

 
GeneralRe: Global Variables in SDI Pin
Iain Clarke, Warrior Programmer19-Apr-10 23:13
Iain Clarke, Warrior Programmer19-Apr-10 23:13 
GeneralRe: Global Variables in SDI Pin
hellogany20-Apr-10 20:22
hellogany20-Apr-10 20:22 
QuestionHow to get the hidden drives in windows? Pin
G Haranadh18-Apr-10 21:17
G Haranadh18-Apr-10 21:17 
AnswerRe: How to get the hidden drives in windows? Pin
SelvaKr18-Apr-10 23:08
SelvaKr18-Apr-10 23:08 
GeneralRe: How to get the hidden drives in windows? Pin
G Haranadh18-Apr-10 23:30
G Haranadh18-Apr-10 23:30 
AnswerRe: How to get the hidden drives in windows? Pin
Michel Godfroid19-Apr-10 0:01
Michel Godfroid19-Apr-10 0:01 
GeneralRe: How to get the hidden drives in windows? Pin
G Haranadh19-Apr-10 0:11
G Haranadh19-Apr-10 0:11 
QuestionAdding controls to an existing window Pin
depsch18-Apr-10 14:17
depsch18-Apr-10 14:17 
I am writing a plugin for an existing application, which allows me to create a tool window and provides standard controls from their own SDK to use on the tool window.
The problem is thier sdk is inssuficient and lacks many standard things such as a main menu and context menu etc,so I like to use Windows API controls on this tool, but I dont have access to this window's WndProc function. All the callbacks are handled internally by the main application which is seemingly hidden.
I am able to find the Hwnd for this tool window using a spy tool. How would I go about adding my own Winapi controls on this window and how would I catch the messages sent by the controls without having access to the WndProc() or the Main() function of the application?
If I initiate a seperate WndProc function, it will conflict with the main application and crashes it.
There are several overload function for the tool window which the application provides. These inculde the OnPaint() and OnIdle() functions.
I was able to do some basic things like painting a rect onto this window so I know I am accessing it correctly.
Any help would be much appreciated.

Frank
AnswerRe: Adding controls to an existing window Pin
Gwenio18-Apr-10 15:29
Gwenio18-Apr-10 15:29 
GeneralRe: Adding controls to an existing window Pin
depsch18-Apr-10 20:18
depsch18-Apr-10 20:18 
AnswerRe: Adding controls to an existing window Pin
Stephen Hewitt18-Apr-10 18:31
Stephen Hewitt18-Apr-10 18:31 
QuestionWindows multimedia or DirectSound - opinions wanted Pin
Vaclav_18-Apr-10 14:16
Vaclav_18-Apr-10 14:16 
AnswerRe: Windows multimedia or DirectSound - opinions wanted Pin
CPallini18-Apr-10 21:17
mveCPallini18-Apr-10 21:17 
AnswerRe: Windows multimedia or DirectSound - opinions wanted Pin
Code-o-mat18-Apr-10 21:37
Code-o-mat18-Apr-10 21:37 
QuestionCurious [Solved] Pin
Gwenio18-Apr-10 10:54
Gwenio18-Apr-10 10:54 
AnswerRe: Curious Pin
Stephen Hewitt18-Apr-10 18:28
Stephen Hewitt18-Apr-10 18:28 
GeneralRe: Curious Pin
Gwenio19-Apr-10 10:54
Gwenio19-Apr-10 10:54 
AnswerRe: Curious Pin
Richard MacCutchan19-Apr-10 1:16
mveRichard MacCutchan19-Apr-10 1:16 
GeneralRe: Curious Pin
Gwenio19-Apr-10 10:49
Gwenio19-Apr-10 10:49 
GeneralRe: Curious Pin
Richard MacCutchan19-Apr-10 11:05
mveRichard MacCutchan19-Apr-10 11:05 
GeneralRe: Curious Pin
Gwenio19-Apr-10 11:38
Gwenio19-Apr-10 11:38 
GeneralRe: Curious Pin
Richard MacCutchan19-Apr-10 12:28
mveRichard MacCutchan19-Apr-10 12:28 
GeneralRe: Curious Pin
Gwenio19-Apr-10 13:13
Gwenio19-Apr-10 13:13 
GeneralRe: Curious Pin
Richard MacCutchan20-Apr-10 1:16
mveRichard MacCutchan20-Apr-10 1:16 
GeneralRe: Curious Pin
Stephen Hewitt19-Apr-10 13:54
Stephen Hewitt19-Apr-10 13:54 

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.