Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SDK in VS2005 Pin
Michael Dunn2-Apr-07 19:48
sitebuilderMichael Dunn2-Apr-07 19:48 
QuestionHelp me with an article - HTTP Tunneling Pin
jbog912-Apr-07 16:00
jbog912-Apr-07 16:00 
QuestionHow to suppress unwanted MDI behaviour Pin
AWSC2-Apr-07 15:10
AWSC2-Apr-07 15:10 
QuestionHow to get notification for check box in CTreeCtrl ? Pin
Yanshof2-Apr-07 14:42
Yanshof2-Apr-07 14:42 
AnswerRe: How to get notification for check box in CTreeCtrl ? Pin
Hamid_RT2-Apr-07 18:48
Hamid_RT2-Apr-07 18:48 
AnswerRe: How to get notification for check box in CTreeCtrl ? Pin
prasad_som2-Apr-07 19:07
prasad_som2-Apr-07 19:07 
QuestionHow to drag a bitmap?? Pin
hcygxr20082-Apr-07 12:33
hcygxr20082-Apr-07 12:33 
AnswerRe: How to drag a bitmap?? Pin
Mark Salsbery2-Apr-07 13:24
Mark Salsbery2-Apr-07 13:24 
Basic steps:
On WM_LBUTTONDOWN message
  Check and see if cursor on bitmap
  Save cursor position
  while mouse button down
  {
    if cursor position different than saved cursor position
      Offset bitmap position by how far cursor has moved from the saved position
      Draw Bitmap at new position
      Redraw background exposed where bitmap was
      save current cursor position
  }

Resizing is very similar.

Mark




"If you can dodge a wrench, you can dodge a ball."

GeneralRe: How to drag a bitmap?? Pin
hcygxr20084-Apr-07 19:15
hcygxr20084-Apr-07 19:15 
QuestionIn Line If Statement Pin
ScotDolan2-Apr-07 12:17
ScotDolan2-Apr-07 12:17 
AnswerRe: In Line If Statement Pin
PJ Arends2-Apr-07 13:24
professionalPJ Arends2-Apr-07 13:24 
QuestionDynamically linked dll, default parameter possible? Pin
CodeHead2-Apr-07 8:00
CodeHead2-Apr-07 8:00 
AnswerRe: Dynamically linked dll, default parameter possible? Pin
AWSC2-Apr-07 15:38
AWSC2-Apr-07 15:38 
GeneralRe: Dynamically linked dll, default parameter possible? Pin
CodeHead4-Apr-07 2:40
CodeHead4-Apr-07 2:40 
Questionhow to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 6:45
MohammadAmiry2-Apr-07 6:45 
AnswerRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:04
Mark Salsbery2-Apr-07 7:04 
GeneralRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:18
MohammadAmiry2-Apr-07 7:18 
AnswerRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:16
David Crow2-Apr-07 7:16 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:26
Mark Salsbery2-Apr-07 7:26 
GeneralRe: how to use an Array of a class? (modified) Pin
David Crow2-Apr-07 7:44
David Crow2-Apr-07 7:44 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:48
Mark Salsbery2-Apr-07 7:48 
GeneralRe: how to use an Array of a class? (modified) Pin
MohammadAmiry2-Apr-07 7:26
MohammadAmiry2-Apr-07 7:26 
GeneralRe: how to use an Array of a class? (modified) Pin
Mark Salsbery2-Apr-07 7:31
Mark Salsbery2-Apr-07 7:31 
AnswerRe: how to use an Array of a class? (modified) Pin
Cedric Moonen2-Apr-07 7:41
Cedric Moonen2-Apr-07 7:41 
GeneralRe: how to use an Array of a class? (modified) Pin
led mike2-Apr-07 8:00
led mike2-Apr-07 8:00 

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.