Click here to Skip to main content
15,898,614 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Disable Task Manager for ALL users? Pin
Anurag Gandhi3-Sep-07 19:14
professionalAnurag Gandhi3-Sep-07 19:14 
GeneralRe: Disable Task Manager for ALL users? Pin
Stephen Hewitt3-Sep-07 19:50
Stephen Hewitt3-Sep-07 19:50 
GeneralRe: Disable Task Manager for ALL users? Pin
amirreza yazdanshenas3-Sep-07 22:22
amirreza yazdanshenas3-Sep-07 22:22 
GeneralRe: Disable Task Manager for ALL users? Pin
Stephen Hewitt3-Sep-07 22:29
Stephen Hewitt3-Sep-07 22:29 
Questionmsvcrt.dll Pin
vikramlinux3-Sep-07 18:29
vikramlinux3-Sep-07 18:29 
AnswerRe: msvcrt.dll Pin
Naveen3-Sep-07 18:39
Naveen3-Sep-07 18:39 
GeneralRe: msvcrt.dll Pin
vikramlinux3-Sep-07 18:58
vikramlinux3-Sep-07 18:58 
Question[SOLVED] MoveWindow() and Negative Values [modified] Pin
Zeke8083-Sep-07 12:16
Zeke8083-Sep-07 12:16 
Hello all, longtime fan of the Code Project - first time posting.

I have some controls on a dialog box that I want to make "Scrollable" in the horizontal direction. There are multiple controls on the dialog box and then entire group of them are around 1000 pixels in width. When this dialog box is less than 1000 the user has the option to scroll horizontally. When scrolling left, the controls to the far left of the dialog will "disappear" to the left. I do this by passing (calculated) negative values to MoveWindow() for the first two parameters (the x,y position parameters).

Now, this all seems to work fine, I just want to make sure that I'm not going to cause some problem by passing these negative parameters to MoveWindow(). I've read all the documentation on MoveWindow() and scoured the web and nowhere have I seen anything that says: "Do not pass negative values to MoveWindow()"...

Anyone see any problem with this? Or anyone think that it's OK what I'm doing?

Thanks in advance - I'd greatly appreciate any feedback from the MFC/VC++ gurus out there.

Zeke




-- modified at 0:18 Tuesday 4th September, 2007
AnswerRe: MoveWindow() and Negative Values Pin
Mark Salsbery3-Sep-07 12:44
Mark Salsbery3-Sep-07 12:44 
GeneralRe: MoveWindow() and Negative Values Pin
Zeke8083-Sep-07 13:14
Zeke8083-Sep-07 13:14 
GeneralRe: MoveWindow() and Negative Values Pin
Mark Salsbery3-Sep-07 14:45
Mark Salsbery3-Sep-07 14:45 
GeneralRe: MoveWindow() and Negative Values Pin
Zeke8083-Sep-07 15:25
Zeke8083-Sep-07 15:25 
GeneralRe: MoveWindow() and Negative Values Pin
chandu0043-Sep-07 18:14
chandu0043-Sep-07 18:14 
QuestionHow to get a status from ITask Pin
StefanKittel3-Sep-07 10:40
StefanKittel3-Sep-07 10:40 
AnswerRe: How to get a status from ITask Pin
Hamid_RT3-Sep-07 18:52
Hamid_RT3-Sep-07 18:52 
QuestionHow to launch exe file with command line? Pin
jerome_data3-Sep-07 7:38
jerome_data3-Sep-07 7:38 
AnswerRe: How to launch exe file with command line? Pin
Mark Salsbery3-Sep-07 8:26
Mark Salsbery3-Sep-07 8:26 
AnswerRe: How to launch exe file with command line? Pin
Hamid_RT3-Sep-07 18:50
Hamid_RT3-Sep-07 18:50 
AnswerRe: How to launch exe file with command line? Pin
Jason Teagle3-Sep-07 22:37
Jason Teagle3-Sep-07 22:37 
Question860612 - automatic expand in outlining Pin
ilostmyid23-Sep-07 6:01
professionalilostmyid23-Sep-07 6:01 
QuestionProblem defining operator<(rhs) Pin
John R. Shaw3-Sep-07 5:50
John R. Shaw3-Sep-07 5:50 
AnswerRe: Problem defining operator&lt;(rhs) Pin
Russell'3-Sep-07 7:05
Russell'3-Sep-07 7:05 
AnswerRe: Problem defining operator&amp;lt;(rhs) Pin
Stephen Hewitt3-Sep-07 14:58
Stephen Hewitt3-Sep-07 14:58 
GeneralRe: Problem defining operator&amp;lt;(rhs) Pin
John R. Shaw3-Sep-07 18:26
John R. Shaw3-Sep-07 18:26 
GeneralRe: Problem defining operator&amp;amp;lt;(rhs) Pin
Stephen Hewitt3-Sep-07 18:54
Stephen Hewitt3-Sep-07 18: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.