Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I tried that but... Pin
generic_user_id14-Mar-02 10:51
generic_user_id14-Mar-02 10:51 
Generalclistctrl question Pin
jafrazee14-Mar-02 3:06
jafrazee14-Mar-02 3:06 
GeneralRe: clistctrl question Pin
Tomasz Sowinski14-Mar-02 3:15
Tomasz Sowinski14-Mar-02 3:15 
GeneralRe: clistctrl question Pin
jafrazee14-Mar-02 3:23
jafrazee14-Mar-02 3:23 
GeneralRe: clistctrl question Pin
Tomasz Sowinski14-Mar-02 3:26
Tomasz Sowinski14-Mar-02 3:26 
GeneralRe: clistctrl question Pin
jafrazee14-Mar-02 3:30
jafrazee14-Mar-02 3:30 
GeneralDrag and Drop Text Pin
sanskypotov14-Mar-02 2:50
sanskypotov14-Mar-02 2:50 
GeneralRe: Drag and Drop Text Pin
Dave Glick14-Mar-02 8:31
Dave Glick14-Mar-02 8:31 
Howdy,

I think you would need to override several mouse functions in your Label class to do the following:

OnLButtonDown: Track when the user clicks and if they have the left button down so that you can know what to do when they move the mouse

OnLButtonUp: Again, use this to remember the mouse button state

OnMouseMove: Inside here test to find out if the mouse button is down and if so, use MoveWindow to move your window to the same coordinates as the mouse is moving to

I think that should do it, but this is just a guess. Hope it gives you a good direction to start looking...

Dave
GeneralRe: Drag and Drop Text Pin
sanskypotov14-Mar-02 19:51
sanskypotov14-Mar-02 19:51 
GeneralInternet Explorer "Save as" macro Pin
14-Mar-02 2:11
suss14-Mar-02 2:11 
GeneralLoad a driver Pin
Don Miguel14-Mar-02 2:08
Don Miguel14-Mar-02 2:08 
GeneralRe: Load a driver Pin
Tomasz Sowinski14-Mar-02 2:16
Tomasz Sowinski14-Mar-02 2:16 
GeneralRe: Load a driver Pin
Tim Deveaux14-Mar-02 4:24
Tim Deveaux14-Mar-02 4:24 
GeneralRe: Load a driver Pin
Don Miguel14-Mar-02 6:03
Don Miguel14-Mar-02 6:03 
GeneralRe: Load a driver Pin
Lim Bio Liong14-Mar-02 4:31
Lim Bio Liong14-Mar-02 4:31 
GeneralRe: Load a driver Pin
Don Miguel14-Mar-02 6:15
Don Miguel14-Mar-02 6:15 
GeneralVersion Management Pin
vijayaramaraju14-Mar-02 1:31
vijayaramaraju14-Mar-02 1:31 
GeneralRe: Version Management Pin
Alexander Wiseman14-Mar-02 6:12
Alexander Wiseman14-Mar-02 6:12 
GeneralMemory DC Win2k can't work! Pin
RichardWdy14-Mar-02 1:19
RichardWdy14-Mar-02 1:19 
GeneralRe: Memory DC Win2k can't work! Pin
Tomasz Sowinski14-Mar-02 1:32
Tomasz Sowinski14-Mar-02 1:32 
GeneralRe: Memory DC Win2k can't work! Pin
567890123414-Mar-02 1:50
567890123414-Mar-02 1:50 
GeneralRe: Memory DC Win2k can't work! Pin
14-Mar-02 2:06
suss14-Mar-02 2:06 
GeneralMin Dialog Size Pin
NodeX14-Mar-02 0:29
NodeX14-Mar-02 0:29 
GeneralRe: Min Dialog Size Pin
Tomasz Sowinski14-Mar-02 0:41
Tomasz Sowinski14-Mar-02 0:41 
GeneralRe: Min Dialog Size Pin
NodeX14-Mar-02 0:42
NodeX14-Mar-02 0:42 

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.