Click here to Skip to main content
15,906,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to control a threads CPU utilization? Pin
mediamaster4023-Nov-02 3:16
mediamaster4023-Nov-02 3:16 
AnswerRe: How to control a threads CPU utilization? Pin
mediamaster4025-Nov-02 3:11
mediamaster4025-Nov-02 3:11 
GeneralCListCtrl - Selection Problem Pin
#realJSOP23-Nov-02 0:54
professional#realJSOP23-Nov-02 0:54 
GeneralRe: CListCtrl - Selection Problem Pin
Gary R. Wheeler23-Nov-02 1:50
Gary R. Wheeler23-Nov-02 1:50 
GeneralRe: CListCtrl - Selection Problem Pin
#realJSOP23-Nov-02 3:22
professional#realJSOP23-Nov-02 3:22 
GeneralRe: CListCtrl - Selection Problem Pin
Jean-Marc Molina3-Oct-03 1:12
Jean-Marc Molina3-Oct-03 1:12 
GeneralDialogues en MFC Pin
bumper23-Nov-02 0:54
bumper23-Nov-02 0:54 
GeneralRe: Dialogues en MFC Pin
Gary R. Wheeler23-Nov-02 2:00
Gary R. Wheeler23-Nov-02 2:00 
bumper wrote (translated via Google):
Hello, I am posed beaucoups question about the dialogues with MFC, and I seek some explanation. 1) Imaginer the dialogue of an effect of photoshop, one finds there an image of preview and right in top of the buttons + and - for the zoom. Possibly one can click on the image to add the center of an effect or to move the image with the mouse to it. Is it possible in MFC to encapsulate the image of preview, the buttons of zoom and the behavior of the mouse on the image in a new personalized control (a class)? and how? The goal is to prevent recopying the same code 100 times if I have 100 effects in my software. 2) For the image of preview, I use a control of the button type in owner Draw bus in addition to the image I have drawings to carry out on the image. Is it possible to use a control picture instead of a button, and how to make to draw on the control picture? The advantage of the control picture is that I can there insert a bitmap in the editor of dialog and make adjust with the size of the contents to have a dialogue of the good dimension except for the pixel. To recut the button in the editor does not make it possible to modify its size except for the pixel. Or then I did not see how?? 3) Enfin, I would like to have control edict in my dialogues to be able to modify the positions of my sliders for example. I did not find which event to use to modify the value of the slider only when I support on "return" in the edict. I tested onchange, but that changes all the temsp (if I want to enter -42, it applies the effect on - pui -4 then -42 and it is the same problem when I éfface the value). I tested onkillfocus, but that obliques me with fact "" or to click on another control to validate the value. In this case, when I appuye on "return" the value is well to modify, but lack of bowl, the dialogue is also closed as if I had to support on OK. Ideas to make function all that?

It sounds like you need a control that provides image display capabilities with zoom and editing. I'm sure there are any number of ActiveX controls out there, either commercial or shareware, that would let you do this.

(translated via Google):
Cela ressemble à de vous le besoin une commande qui fournit à des possibilités d'affichage d'image le bourdonnement et l'édition. Je suis sûr qu'il y a tout nombre de commandes d'ActiveX dehors là, ou film publicitaire ou le shareware, qui vous laisserait font ceci.


Software Zen: delete this;
GeneralRe: Dialogues en MFC Pin
bumper23-Nov-02 2:40
bumper23-Nov-02 2:40 
GeneralRe: Dialogues en MFC Pin
Maximilien24-Nov-02 16:19
Maximilien24-Nov-02 16:19 
GeneralRe: Dialogues en MFC Pin
bumper25-Nov-02 11:08
bumper25-Nov-02 11:08 
GeneralPreserving clipboard content Pin
mariuszpopiolek22-Nov-02 23:49
mariuszpopiolek22-Nov-02 23:49 
GeneralRe: Preserving clipboard content Pin
Gary R. Wheeler23-Nov-02 2:11
Gary R. Wheeler23-Nov-02 2:11 
GeneralRe: Preserving clipboard content Pin
mariuszpopiolek23-Nov-02 2:22
mariuszpopiolek23-Nov-02 2:22 
GeneralRe: Preserving clipboard content Pin
Paul M Watt23-Nov-02 6:57
mentorPaul M Watt23-Nov-02 6:57 
GeneralRe: Preserving clipboard content Pin
mariuszpopiolek23-Nov-02 13:22
mariuszpopiolek23-Nov-02 13:22 
GeneralConstants in cmath Pin
Anonymous22-Nov-02 23:22
Anonymous22-Nov-02 23:22 
GeneralConstants in <cmath> Pin
Anonymous22-Nov-02 23:21
Anonymous22-Nov-02 23:21 
QuestionHow to detect network connection? Pin
Wenrich22-Nov-02 23:06
Wenrich22-Nov-02 23:06 
AnswerRe: How to detect network connection? Pin
Gary R. Wheeler23-Nov-02 2:25
Gary R. Wheeler23-Nov-02 2:25 
AnswerRe: How to detect network connection? Pin
Michael Dunn23-Nov-02 5:11
sitebuilderMichael Dunn23-Nov-02 5:11 
GeneralMaximizing Pin
S O S22-Nov-02 23:00
S O S22-Nov-02 23:00 
GeneralRe: Maximizing Pin
Gary R. Wheeler23-Nov-02 2:35
Gary R. Wheeler23-Nov-02 2:35 
GeneralRe: Maximizing Pin
S O S23-Nov-02 5:44
S O S23-Nov-02 5:44 
GeneralRe: Maximizing Pin
Paul M Watt23-Nov-02 6:51
mentorPaul M Watt23-Nov-02 6:51 

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.