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

C / C++ / MFC

 
QuestionBest way to setup this code - two client views Pin
Kwanalouie20-May-08 14:21
Kwanalouie20-May-08 14:21 
AnswerRe: Best way to setup this code - two client views Pin
Rajkumar R20-May-08 19:07
Rajkumar R20-May-08 19:07 
QuestionException caught but not handled completely Pin
Royce Fickling20-May-08 10:27
Royce Fickling20-May-08 10:27 
AnswerRe: Exception caught but not handled completely Pin
led mike20-May-08 11:46
led mike20-May-08 11:46 
QuestionMFC components and minGW... Pin
greghint20-May-08 9:58
greghint20-May-08 9:58 
AnswerRe: MFC components and minGW... Pin
Rajkumar R20-May-08 20:08
Rajkumar R20-May-08 20:08 
GeneralRe: MFC components and minGW... Pin
greghint11-Jun-08 16:27
greghint11-Jun-08 16:27 
Questioninitial position of pop-up dialog box Pin
Kwanalouie20-May-08 7:45
Kwanalouie20-May-08 7:45 
I'm using Visual C++ 6.0 MFC in SDI application

I have a dialog box that comes up when the mouse is clicked. I don't understand how to control where in the client window this dialog box is displayed. I tried using something called SetWindowPos() but I did not understand what the first paramenter of the function call should be. Here's the routine that gets called

void GetMyPopBoxInfo(CMPopUpBox dlgPopUpBox)
{
// this displays my pop up dialog box
// but how do I set the position where this box is displayed?
dlgPopUpBox.DoModal();
}
AnswerRe: initial position of pop-up dialog box Pin
David Crow20-May-08 7:48
David Crow20-May-08 7:48 
AnswerRe: initial position of pop-up dialog box Pin
Nelek21-May-08 6:56
protectorNelek21-May-08 6:56 
QuestionLoss of data using CList::AddTail() Pin
piul20-May-08 5:55
piul20-May-08 5:55 
QuestionRe: Loss of data using CList::AddTail() Pin
Ernest Laurentin20-May-08 7:51
Ernest Laurentin20-May-08 7:51 
QuestionRe: Loss of data using CList::AddTail() Pin
David Crow20-May-08 7:55
David Crow20-May-08 7:55 
QuestionHow can i copy raw image buffer to a dc? Pin
Soumyadipta20-May-08 5:09
Soumyadipta20-May-08 5:09 
AnswerRe: How can i copy raw image buffer to a dc? Pin
CPallini20-May-08 6:22
mveCPallini20-May-08 6:22 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta20-May-08 18:49
Soumyadipta20-May-08 18:49 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini20-May-08 21:09
mveCPallini20-May-08 21:09 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta20-May-08 23:08
Soumyadipta20-May-08 23:08 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini20-May-08 23:47
mveCPallini20-May-08 23:47 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta21-May-08 0:26
Soumyadipta21-May-08 0:26 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini21-May-08 1:07
mveCPallini21-May-08 1:07 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta21-May-08 1:55
Soumyadipta21-May-08 1:55 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini21-May-08 2:10
mveCPallini21-May-08 2:10 
QuestionFinding only GDI leaks Pin
Super Hornet20-May-08 4:58
Super Hornet20-May-08 4:58 
AnswerRe: Finding only GDI leaks Pin
Hamid_RT20-May-08 7:34
Hamid_RT20-May-08 7:34 

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.