Click here to Skip to main content
15,891,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Keyboard and Game! Pin
Pavlos Touboulidis21-Aug-01 11:32
Pavlos Touboulidis21-Aug-01 11:32 
Questionwhy the release version component run error ? Pin
Sandos Ganzales21-Aug-01 0:08
Sandos Ganzales21-Aug-01 0:08 
AnswerRe: why the release version component run error ? Pin
Christian Graus21-Aug-01 0:33
protectorChristian Graus21-Aug-01 0:33 
GeneralVC Addin technical question Pin
Andreas Saurwein20-Aug-01 23:57
Andreas Saurwein20-Aug-01 23:57 
GeneralRe: VC Addin technical question Pin
Christian Graus21-Aug-01 0:34
protectorChristian Graus21-Aug-01 0:34 
GeneralRe: VC Addin technical question Pin
Andreas Saurwein22-Aug-01 13:38
Andreas Saurwein22-Aug-01 13:38 
GeneralRe: VC Addin technical question Pin
Christian Graus22-Aug-01 13:46
protectorChristian Graus22-Aug-01 13:46 
GeneralRe: VC Addin technical question Pin
Anna-Jayne Metcalfe21-Aug-01 0:44
Anna-Jayne Metcalfe21-Aug-01 0:44 
I was interested in doing this for my ResOrg add-in, but came to the conclusion it would be risky and time consuming, so I never got around to it. Frown | :(

What you want to do will almost certainly involve subclassing the main DevStudio window. You might be able to do it by hooking the WM_CREATE message of the mainframe and adding a child window to the control bar.

I suspect though that if the VC code isn't aware of the pane it won't work correctly - the only way to find out is to try it.

Adding a docking window of your own is non-trivial but possible - remember you'll need to provide a menu command or toolbar button to show/hide it, which means handling WM_COMMAND and WM_INITMENUPOPUP messages from the mainframe (and probably others too). You'll also need a suitable framework (such as BCGControlBar) to provide the docking window classes, unless you intend to write them yourself (which I wouldn't recommend).

Note that that there can be problems if several Add-Ins attempt to subclass the same window. This is a known issue with VC which has no resolution yet I'm afraid.

All in all, I think you'll find that you have to use the OpenVC "tricks" in order to get it too work. If I can assist in any way, please feel free to ask.

Good Luck!

Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk

"Lots of people want to ride with you in the limo, but what you want is someone who will take the bus with you when the limo breaks down."
GeneralRe: VC Addin technical question Pin
Andreas Saurwein21-Aug-01 1:03
Andreas Saurwein21-Aug-01 1:03 
GeneralCString to CLongBinary Pin
20-Aug-01 23:56
suss20-Aug-01 23:56 
GeneralRe: CString to CLongBinary Pin
Ryszard Krakowiak21-Aug-01 3:54
Ryszard Krakowiak21-Aug-01 3:54 
GeneralRe: CString to CLongBinary Pin
21-Aug-01 4:40
suss21-Aug-01 4:40 
GeneralRe: CString to CLongBinary Pin
Uwe Keim21-Aug-01 4:00
sitebuilderUwe Keim21-Aug-01 4:00 
GeneralRe: CString to CLongBinary Pin
Giles21-Aug-01 4:42
Giles21-Aug-01 4:42 
GeneralRe: CString to CLongBinary Pin
Uwe Keim21-Aug-01 4:51
sitebuilderUwe Keim21-Aug-01 4:51 
Generalwhats wrong here??about waveinreset!! Pin
hapcoer20-Aug-01 23:43
hapcoer20-Aug-01 23:43 
Generala simple question about global variable Pin
Gérald Mercet20-Aug-01 23:04
Gérald Mercet20-Aug-01 23:04 
GeneralRe: a simple question about global variable Pin
Christian Graus20-Aug-01 23:29
protectorChristian Graus20-Aug-01 23:29 
GeneralRe: a simple question about global variable Pin
Gérald Mercet20-Aug-01 23:43
Gérald Mercet20-Aug-01 23:43 
GeneralRe: a simple question about global variable Pin
Christian Graus20-Aug-01 23:53
protectorChristian Graus20-Aug-01 23:53 
GeneralRe: a simple question about global variable Pin
Malcolm McMahon21-Aug-01 0:36
Malcolm McMahon21-Aug-01 0:36 
Generalcrypt Pin
20-Aug-01 22:37
suss20-Aug-01 22:37 
GeneralRe: crypt Pin
Tim Deveaux21-Aug-01 6:15
Tim Deveaux21-Aug-01 6:15 
GeneralSerialization Pin
Nick Armstrong20-Aug-01 22:09
Nick Armstrong20-Aug-01 22:09 
GeneralRe: Serialization Pin
Niklas L20-Aug-01 22:32
Niklas L20-Aug-01 22:32 

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.