Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: No static text in a modeless dialog Pin
Nibu babu thomas28-Apr-08 3:23
Nibu babu thomas28-Apr-08 3:23 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:43
piul28-Apr-08 3:43 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:56
piul28-Apr-08 3:56 
QuestionRe: No static text in a modeless dialog Pin
Rajkumar R28-Apr-08 4:23
Rajkumar R28-Apr-08 4:23 
GeneralRe: No static text in a modeless dialog Pin
Hamid_RT29-Apr-08 1:54
Hamid_RT29-Apr-08 1:54 
QuestionHow to change the Image and Text layout in the CListCtrl Pin
Somnath_Mali28-Apr-08 2:20
Somnath_Mali28-Apr-08 2:20 
GeneralRe: How to change the Image and Text layout in the CListCtrl Pin
Hamid_RT29-Apr-08 1:55
Hamid_RT29-Apr-08 1:55 
GeneralHowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CodingWorm28-Apr-08 1:33
CodingWorm28-Apr-08 1:33 
Hi guys,

As the subject points out I'd like to restrict the movement of an (owned ?) WS_POPUP to the client area of its owner. Contrary to the behaviour of a WS_CHILD which is clipped when it hits the boundaries of its parent (you can push the child under the borders) - I'd like my window to "bounce" of the borders (you can not push it under the borders, it should behave as hitting a wall). Is this possible ? If yes how can I tackle the problem ? Based on my pretty meager windows programming knowledge I'd say I need to trap/catch/grab some windows messages ( but which ones ? ) and then do something with them (probably subclassing the windowproc of the WS_POPUP ?). I can truly say I have no idea where to start. Can anybody provide some hints ? Maybe you have already done what I would need and can furnish same coding example ?

Sorry child windows are completely out of the question - not for the clipping behaviour but for other reasons as well!
thanx,

codingworm
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) [modified] Pin
CPallini28-Apr-08 1:38
mveCPallini28-Apr-08 1:38 
QuestionRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
David Crow29-Apr-08 3:03
David Crow29-Apr-08 3:03 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CPallini29-Apr-08 3:16
mveCPallini29-Apr-08 3:16 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
David Crow28-Apr-08 4:19
David Crow28-Apr-08 4:19 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CodingWorm29-Apr-08 0:18
CodingWorm29-Apr-08 0:18 
Generalmessage deriven problem Pin
mmj28-Apr-08 1:28
mmj28-Apr-08 1:28 
GeneralRe: message deriven problem Pin
CPallini28-Apr-08 1:33
mveCPallini28-Apr-08 1:33 
GeneralRe: message deriven problem Pin
Rajkumar R28-Apr-08 2:07
Rajkumar R28-Apr-08 2:07 
GeneralCreate HBITMAP from HDC Pin
kutti28-Apr-08 0:59
kutti28-Apr-08 0:59 
GeneralRe: Create HBITMAP from HDC Pin
Rajkumar R28-Apr-08 2:19
Rajkumar R28-Apr-08 2:19 
GeneralRe: Create HBITMAP from HDC Pin
Hamid_RT29-Apr-08 1:47
Hamid_RT29-Apr-08 1:47 
Questioncloror masking of image Pin
trioum28-Apr-08 0:55
trioum28-Apr-08 0:55 
GeneralRe: cloror masking of image Pin
Rajkumar R28-Apr-08 1:01
Rajkumar R28-Apr-08 1:01 
QuestionHow to write this code using IFileOperation in Vista Pin
Mustanseer M S28-Apr-08 0:29
Mustanseer M S28-Apr-08 0:29 
QuestionRe: How to write this code using IFileOperation in Vista Pin
David Crow28-Apr-08 4:26
David Crow28-Apr-08 4:26 
GeneralRe: How to write this code using IFileOperation in Vista Pin
Mustanseer M S28-Apr-08 17:55
Mustanseer M S28-Apr-08 17:55 
QuestionRe: How to write this code using IFileOperation in Vista Pin
David Crow29-Apr-08 3:29
David Crow29-Apr-08 3:29 

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.