Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: [GDI+] alpha determined by gray value Pin
pallaka7-Jul-08 20:30
pallaka7-Jul-08 20:30 
AnswerRe: [GDI+] alpha determined by gray value Pin
Mark Salsbery8-Jul-08 6:55
Mark Salsbery8-Jul-08 6:55 
QuestionCHAT PROGRAMME Pin
bodhi20167-Jul-08 7:37
bodhi20167-Jul-08 7:37 
AnswerRe: CHAT PROGRAMME Pin
Mark Salsbery7-Jul-08 7:46
Mark Salsbery7-Jul-08 7:46 
QuestionGet Mouse Click position Pin
Like2Byte7-Jul-08 7:29
Like2Byte7-Jul-08 7:29 
AnswerRe: Get Mouse Click position Pin
Mark Salsbery7-Jul-08 7:48
Mark Salsbery7-Jul-08 7:48 
GeneralRe: Get Mouse Click position Pin
Like2Byte7-Jul-08 10:01
Like2Byte7-Jul-08 10:01 
GeneralRe: Get Mouse Click position PinPopular
James R. Twine7-Jul-08 10:57
James R. Twine7-Jul-08 10:57 
   Note that there is an important difference between the two ways Mark gave you to get the mouse position. The position associated with the window message may be different than the one you get from GetCursorPos() -- the former is the one at the time the message was sent, the latter is the mouse's position at the time of the call.  If your application is very busy, the two values can be very different. You likely want the position associated with the message:
GetCurrentMessage() -> pt
   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>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!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



QuestionExecutable crashes with Debug version and works fine with Release version Pin
lokare_atul7-Jul-08 4:37
lokare_atul7-Jul-08 4:37 
AnswerRe: Executable crashes with Debug version and works fine with Release version Pin
Matthew Faithfull7-Jul-08 5:35
Matthew Faithfull7-Jul-08 5:35 
QuestionService Programming - How to tell if the current process is running as a Windows Service.. Pin
Mike Doner7-Jul-08 3:38
Mike Doner7-Jul-08 3:38 
AnswerRe: Service Programming - How to tell if the current process is running as a Windows Service.. Pin
Iain Clarke, Warrior Programmer7-Jul-08 3:46
Iain Clarke, Warrior Programmer7-Jul-08 3:46 
AnswerRe: Service Programming - How to tell if the current process is running as a Windows Service.. Pin
KarstenK7-Jul-08 3:48
mveKarstenK7-Jul-08 3:48 
AnswerRe: Service Programming - How to tell if the current process is running as a Windows Service.. Pin
Nibu babu thomas7-Jul-08 17:41
Nibu babu thomas7-Jul-08 17:41 
QuestionArray of pointers to functions Pin
softwaremonkey7-Jul-08 3:37
softwaremonkey7-Jul-08 3:37 
AnswerRe: Array of pointers to functions Pin
Iain Clarke, Warrior Programmer7-Jul-08 4:04
Iain Clarke, Warrior Programmer7-Jul-08 4:04 
QuestionRe: Array of pointers to functions Pin
David Crow7-Jul-08 4:24
David Crow7-Jul-08 4:24 
AnswerRe: Array of pointers to functions Pin
softwaremonkey8-Jul-08 1:20
softwaremonkey8-Jul-08 1:20 
QuestionMigration Approach Pin
Member 35010957-Jul-08 2:55
Member 35010957-Jul-08 2:55 
QuestionAdo slow connection to sql server when compiled with VS2008 Pin
peterboulton7-Jul-08 2:26
professionalpeterboulton7-Jul-08 2:26 
QuestionQuery on DLL manifest file for a project compiled with VC++ 2005 SP1 Pin
ComplexLifeForm7-Jul-08 1:48
ComplexLifeForm7-Jul-08 1:48 
AnswerRe: Query on DLL manifest file for a project compiled with VC++ 2005 SP1 Pin
KarstenK7-Jul-08 2:29
mveKarstenK7-Jul-08 2:29 
GeneralRe: Query on DLL manifest file for a project compiled with VC++ 2005 SP1 Pin
ComplexLifeForm7-Jul-08 8:40
ComplexLifeForm7-Jul-08 8:40 
AnswerRe: Query on DLL manifest file for a project compiled with VC++ 2005 SP1 Pin
Saurabh.Garg7-Jul-08 15:48
Saurabh.Garg7-Jul-08 15:48 
AnswerRe: Query on DLL manifest file for a project compiled with VC++ 2005 SP1 Pin
Saurabh.Garg7-Jul-08 15:50
Saurabh.Garg7-Jul-08 15: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.