Click here to Skip to main content
15,922,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Splitter Window Pin
Niklas L7-Nov-06 0:11
Niklas L7-Nov-06 0:11 
QuestionRe: Splitter Window Pin
David Crow7-Nov-06 3:07
David Crow7-Nov-06 3:07 
AnswerRe: Splitter Window Pin
Niklas L8-Nov-06 12:13
Niklas L8-Nov-06 12:13 
QuestionHow can I add drag and drop facility in dialog based application? Pin
Sameer_Thakur6-Nov-06 20:25
Sameer_Thakur6-Nov-06 20:25 
AnswerRe: How can I add drag and drop facility in dialog based application? Pin
PJ Arends6-Nov-06 21:17
professionalPJ Arends6-Nov-06 21:17 
GeneralRe: How can I add drag and drop facility in dialog based application? Pin
Sameer_Thakur6-Nov-06 22:17
Sameer_Thakur6-Nov-06 22:17 
GeneralRe: How can I add drag and drop facility in dialog based application? Pin
PJ Arends6-Nov-06 22:45
professionalPJ Arends6-Nov-06 22:45 
GeneralRe: How can I add drag and drop facility in dialog based application? Pin
James R. Twine7-Nov-06 3:09
James R. Twine7-Nov-06 3:09 
   One of the things that I did for JRTSTools was to create a COleDropTarget-based class that uses registered messages for notifications to its "notification" window (the class treats the owner control/window and the notification window separately).

   That way, it is completely reusable for any type of (non-CView-based) window - all that has to be done is adding the registered window message handlers.

   I find it easier than creating a new class derived from COleDropTarget each time I need to add a drop target (or multiple drop targets) to a window - I have have just add the instances of the object, and wire-up the targets and notification window.  Easier than creating two derived versions or using one and managing drag locations to determine behavior.

   It also makes it easier to add or remove the drop target functionality at runtime based on other activity in the window.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)

QuestionHow get the handle of the window ? Pin
Anamika20056-Nov-06 19:58
Anamika20056-Nov-06 19:58 
AnswerRe: How get the handle of the window ? Pin
Hamid_RT6-Nov-06 20:12
Hamid_RT6-Nov-06 20:12 
AnswerRe: How get the handle of the window ? Pin
Mark Salsbery7-Nov-06 6:37
Mark Salsbery7-Nov-06 6:37 
AnswerRe: How get the handle of the window ? Pin
dharani7-Nov-06 21:38
dharani7-Nov-06 21:38 
AnswerRe: How get the handle of the window ? Pin
dharani7-Nov-06 21:40
dharani7-Nov-06 21:40 
Questionunresolved external symbol _wWinMain@16 Pin
Raghavendra Pise6-Nov-06 19:43
Raghavendra Pise6-Nov-06 19:43 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
prasad_som6-Nov-06 20:01
prasad_som6-Nov-06 20:01 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
Raghavendra Pise6-Nov-06 20:20
Raghavendra Pise6-Nov-06 20:20 
AnswerRe: unresolved external symbol _wWinMain@16 Pin
Hamid_RT6-Nov-06 20:02
Hamid_RT6-Nov-06 20:02 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
Raghavendra Pise6-Nov-06 20:22
Raghavendra Pise6-Nov-06 20:22 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
Hamid_RT7-Nov-06 4:20
Hamid_RT7-Nov-06 4:20 
AnswerRe: unresolved external symbol _wWinMain@16 Pin
VCSharp0076-Nov-06 21:42
VCSharp0076-Nov-06 21:42 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
Raghavendra Pise6-Nov-06 22:09
Raghavendra Pise6-Nov-06 22:09 
AnswerRe: unresolved external symbol _wWinMain@16 Pin
fat_boy6-Nov-06 23:43
fat_boy6-Nov-06 23:43 
GeneralRe: unresolved external symbol _wWinMain@16 Pin
Raghavendra Pise7-Nov-06 0:34
Raghavendra Pise7-Nov-06 0:34 
QuestionWrite text to the command prompt in Dlg based Appln. Pin
zxc896-Nov-06 19:30
zxc896-Nov-06 19:30 
AnswerRe: Write text to the command prompt in Dlg based Appln. Pin
fat_boy6-Nov-06 23:50
fat_boy6-Nov-06 23:50 

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.