Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WSA - SOCKET ERROR Pin
marc.bellario16-Oct-07 5:08
marc.bellario16-Oct-07 5:08 
GeneralRe: WSA - SOCKET ERROR Pin
Mark Salsbery16-Oct-07 5:17
Mark Salsbery16-Oct-07 5:17 
GeneralRe: WSA - SOCKET ERROR Pin
David Crow16-Oct-07 5:25
David Crow16-Oct-07 5:25 
GeneralRe: WSA - SOCKET ERROR Pin
Mark Salsbery16-Oct-07 6:31
Mark Salsbery16-Oct-07 6:31 
GeneralRe: WSA - SOCKET ERROR Pin
led mike16-Oct-07 5:22
led mike16-Oct-07 5:22 
QuestionProblem with a loop in UpdateWindow Pin
Nelek16-Oct-07 3:17
protectorNelek16-Oct-07 3:17 
QuestionRe: Problem with a loop in UpdateWindow Pin
David Crow16-Oct-07 4:02
David Crow16-Oct-07 4:02 
AnswerRe: Problem with a loop in UpdateWindow Pin
Nelek16-Oct-07 21:49
protectorNelek16-Oct-07 21:49 
The process is the same for both modes. I have to ensure 3 points before making a connection (status 3 = connection allowed), do the connection (status 4) and then, depending on what the user wants to do (write / read) allow only one of them.

My boss wanted to have it like that because of "pretty appearance".

So he said to do it with changing button depending on job-mode and suggested me to do that.

I have thought 2 alternative possibilities. Just 2 buttons and enable/disable them as with the others (it gives no problems) or one button changing caption depending on write/read and with the functionality inside separated in two ifs. I will most probably use the second one (1 button with two captions / functions) to follow the "desires" of my boss.

But I asked it because of the flickering. I know that it is due to ShowWindow, but I don't know why. I guess an internal invalidate/updatewindow to make the control visible or not, am I right?



Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

GeneralRe: Problem with a loop in UpdateWindow Pin
David Crow17-Oct-07 4:20
David Crow17-Oct-07 4:20 
JokeRe: Problem with a loop in UpdateWindow Pin
Nelek17-Oct-07 5:40
protectorNelek17-Oct-07 5:40 
AnswerRe: Problem with a loop in UpdateWindow Pin
Mike Dimmick17-Oct-07 4:11
Mike Dimmick17-Oct-07 4:11 
GeneralRe: Problem with a loop in UpdateWindow Pin
Nelek17-Oct-07 5:36
protectorNelek17-Oct-07 5:36 
QuestionOpenGL Coloured Lighting Pin
Anthony Mushrow16-Oct-07 1:52
professionalAnthony Mushrow16-Oct-07 1:52 
AnswerRe: OpenGL Coloured Lighting Pin
El Corazon16-Oct-07 6:52
El Corazon16-Oct-07 6:52 
GeneralRe: OpenGL Coloured Lighting Pin
Anthony Mushrow16-Oct-07 9:43
professionalAnthony Mushrow16-Oct-07 9:43 
GeneralRe: OpenGL Coloured Lighting Pin
El Corazon16-Oct-07 10:49
El Corazon16-Oct-07 10:49 
QuestionAdding Images to the subitems in ListView Pin
D.Srihari16-Oct-07 1:37
D.Srihari16-Oct-07 1:37 
AnswerRe: Adding Images to the subitems in ListView Pin
Nelek16-Oct-07 3:21
protectorNelek16-Oct-07 3:21 
AnswerRe: Adding Images to the subitems in ListView Pin
Hamid_RT16-Oct-07 8:28
Hamid_RT16-Oct-07 8:28 
QuestionMinimize button for the application Pin
shir_k16-Oct-07 1:27
shir_k16-Oct-07 1:27 
QuestionRe: Minimize button for the application Pin
David Crow16-Oct-07 3:09
David Crow16-Oct-07 3:09 
AnswerRe: Minimize button for the application Pin
shir_k16-Oct-07 19:01
shir_k16-Oct-07 19:01 
GeneralRe: Minimize button for the application Pin
shir_k16-Oct-07 23:28
shir_k16-Oct-07 23:28 
QuestionC++ Helper Plugin Pin
MarkB77716-Oct-07 1:14
MarkB77716-Oct-07 1:14 
AnswerRe: C++ Helper Plugin Pin
toxcct16-Oct-07 1:19
toxcct16-Oct-07 1:19 

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.