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

C / C++ / MFC

 
AnswerRe: Excel Automation - Please help ... Pin
David Crow26-Apr-07 4:24
David Crow26-Apr-07 4:24 
GeneralRe: Excel Automation - Please help ... Pin
hellogany19-Nov-08 17:38
hellogany19-Nov-08 17:38 
GeneralRe: Excel Automation - Please help ... Pin
David Crow20-Nov-08 3:34
David Crow20-Nov-08 3:34 
GeneralRe: Excel Automation - Please help ... Pin
hellogany23-Nov-08 19:06
hellogany23-Nov-08 19:06 
GeneralRe: Excel Automation - Please help ... Pin
David Crow1-Dec-08 3:50
David Crow1-Dec-08 3:50 
GeneralRe: Excel Automation - Please help ... Pin
thready26-Dec-08 5:30
thready26-Dec-08 5:30 
GeneralRe: Excel Automation - Please help ... Pin
David Crow5-Jan-09 3:55
David Crow5-Jan-09 3:55 
Questionmove to offscreen [modified] Pin
david_joung26-Apr-07 1:15
david_joung26-Apr-07 1:15 
just make a dialog with mfc-wizard.
add message function like this

void CTest::OnLButtonDown(UINT nFlags, CPoint point)
{
PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x,point.y));
CDialog::OnLButtonDown(nFlags, point);
}


and exacute it.

1) click the client area of dialog with left mouse button.
2) move it toward screen top
3)when the some part of dialog is in off-screen, release mouse left button.
4)automatically the dialog is moved again to screen area. <= it is my problem.

normal window acts like this.
how can I disable 4) action?




I want to prevent the dialog from automatically moving back onto screen.


thank you in advance.



<hello world="">

AnswerRe: move to offscreen Pin
Nibu babu thomas26-Apr-07 1:42
Nibu babu thomas26-Apr-07 1:42 
QuestionRe: move to offscreen Pin
David Crow26-Apr-07 4:02
David Crow26-Apr-07 4:02 
AnswerRe: move to offscreen [modified] Pin
david_joung26-Apr-07 6:44
david_joung26-Apr-07 6:44 
QuestionRe: move to offscreen Pin
David Crow26-Apr-07 8:14
David Crow26-Apr-07 8:14 
QuestionRe: Taking more time to create active-x component Pin
praveen kumar agarwal26-Apr-07 0:57
praveen kumar agarwal26-Apr-07 0:57 
QuestionHow to desgin network security project Pin
sharmaarvind26-Apr-07 0:25
sharmaarvind26-Apr-07 0:25 
QuestionHow can i assign character array to cstring object Pin
Mushtaque Nizamani26-Apr-07 0:14
Mushtaque Nizamani26-Apr-07 0:14 
AnswerRe: How can i assign character array to cstring object Pin
Paresh Chitte26-Apr-07 0:17
Paresh Chitte26-Apr-07 0:17 
AnswerRe: How can i assign character array to cstring object Pin
viral_umang@hotmail.com26-Apr-07 2:25
viral_umang@hotmail.com26-Apr-07 2:25 
GeneralRe: How can i assign character array to cstring object Pin
Mark Salsbery26-Apr-07 7:29
Mark Salsbery26-Apr-07 7:29 
AnswerRe: How can i assign character array to cstring object Pin
Arman S.26-Apr-07 2:31
Arman S.26-Apr-07 2:31 
QuestionMPEG 2 Watermarking Pin
jk chan25-Apr-07 23:59
jk chan25-Apr-07 23:59 
AnswerRe: MPEG 2 Watermarking Pin
KarstenK26-Apr-07 2:37
mveKarstenK26-Apr-07 2:37 
Questionstoping midi file Pin
neha.agarwal2725-Apr-07 23:59
neha.agarwal2725-Apr-07 23:59 
AnswerRe: stoping midi file Pin
Arman S.26-Apr-07 2:23
Arman S.26-Apr-07 2:23 
QuestionOwner of a Window Pin
HakunaMatada25-Apr-07 23:39
HakunaMatada25-Apr-07 23:39 
AnswerRe: Owner of a Window Pin
GuyM25-Apr-07 23:47
GuyM25-Apr-07 23:47 

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.