Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL Creation Question Pin
Freak3022-Oct-13 21:41
Freak3022-Oct-13 21:41 
AnswerRe: DLL Creation Question Pin
Richard MacCutchan22-Oct-13 10:39
mveRichard MacCutchan22-Oct-13 10:39 
Generalcout vs printf execution sequence Pin
MANJUNATH-from-Bangalore22-Oct-13 6:22
MANJUNATH-from-Bangalore22-Oct-13 6:22 
GeneralRe: cout vs printf execution sequence Pin
pasztorpisti22-Oct-13 6:40
pasztorpisti22-Oct-13 6:40 
QuestionRe: cout vs printf execution sequence Pin
Captain Price22-Oct-13 15:29
professionalCaptain Price22-Oct-13 15:29 
GeneralRe: cout vs printf execution sequence Pin
Aescleal23-Oct-13 3:31
Aescleal23-Oct-13 3:31 
QuestionRe: cout vs printf execution sequence Pin
David Crow24-Oct-13 6:10
David Crow24-Oct-13 6:10 
QuestionFlickering when change QWidget window state between showMaximized() and showFullScreen() Pin
Diego Donate21-Oct-13 23:10
Diego Donate21-Oct-13 23:10 
Hi,

I have problems with 'WindowStateChange' events in my QWidget.
I have created a simple test widget with 3 buttons, to set window state:
Normal: showNormal();
MAX: showMaximized();
FullScreen: showFullScreen();
and trace window state events (QEvent::WindowStateChange).

When I change 'normal' <-> 'max' there is no problem (altough i receive twice 'max' event), BUT when i change 'max' <-> 'fullscreen' i receive this events:

'max' --> 'fullscreen'
----------------------------
0 No State
4 FullScreen

'fullscreen' --> 'max'
---------------------------
6 Maximized
4 FullScreen
6 Maximized
2 Maximized

with code like this:
C++
state = windowState();
if ( state & Qt::WindowMaximized )
       qDebug() << state << "Maximized";


So my widget has in both cases a strange flickering. That is, when 'max' --> 'fullscreen', it has an 'intermediate' "normal" state (0), and when 'fullscreen' --> 'max', it has several 'intermediate' states...

In my application, I must show/hide things when app is normal/maximized/fullScreened, so this flickering is really a problem.

Is it possible to do anything?

Thanks in advance,

Diego
SuggestionRe: Flickering when change QWidget window state between showMaximized() and showFullScreen() Pin
Richard MacCutchan21-Oct-13 23:44
mveRichard MacCutchan21-Oct-13 23:44 
Questionmfc dailog based application Pin
Member 1025201221-Oct-13 1:19
Member 1025201221-Oct-13 1:19 
AnswerRe: mfc dailog based application Pin
Richard MacCutchan21-Oct-13 1:38
mveRichard MacCutchan21-Oct-13 1:38 
AnswerRe: mfc dailog based application Pin
Garth J Lancaster21-Oct-13 1:38
professionalGarth J Lancaster21-Oct-13 1:38 
AnswerRe: mfc dailog based application Pin
David Crow21-Oct-13 3:07
David Crow21-Oct-13 3:07 
AnswerRe: mfc dailog based application Pin
Captain Price21-Oct-13 5:51
professionalCaptain Price21-Oct-13 5:51 
QuestionHow to control Scroll bar in CListCtrl using VC++ Pin
shanmugarajaa20-Oct-13 21:34
shanmugarajaa20-Oct-13 21:34 
AnswerRe: How to control Scroll bar in CListCtrl using VC++ Pin
Richard MacCutchan20-Oct-13 21:44
mveRichard MacCutchan20-Oct-13 21:44 
QuestionOrder Pin
messages20-Oct-13 4:08
messages20-Oct-13 4:08 
QuestionRe: Order Pin
David Crow20-Oct-13 16:05
David Crow20-Oct-13 16:05 
AnswerRe: Order Pin
messages21-Oct-13 3:07
messages21-Oct-13 3:07 
AnswerRe: Order Pin
Ron Beyer20-Oct-13 17:15
professionalRon Beyer20-Oct-13 17:15 
GeneralRe: Order Pin
messages21-Oct-13 3:08
messages21-Oct-13 3:08 
GeneralRe: Order Pin
Ron Beyer21-Oct-13 4:57
professionalRon Beyer21-Oct-13 4:57 
AnswerRe: Order Pin
rashin ghodratzade27-Oct-13 22:24
rashin ghodratzade27-Oct-13 22:24 
QuestionHow to catch wave API WHDR_DONE flag? Pin
Vaclav_19-Oct-13 4:41
Vaclav_19-Oct-13 4:41 
QuestionRe: How to catch wave API WHDR_DONE flag? Pin
David Crow19-Oct-13 16:36
David Crow19-Oct-13 16:36 

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.