Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Regarding Admin rights user Pin
H4u3214-Oct-08 21:34
H4u3214-Oct-08 21:34 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian14-Oct-08 23:23
professionalRajesh R Subramanian14-Oct-08 23:23 
GeneralRe: Regarding Admin rights user Pin
H4u3215-Oct-08 2:16
H4u3215-Oct-08 2:16 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian15-Oct-08 2:24
professionalRajesh R Subramanian15-Oct-08 2:24 
GeneralRe: Regarding Admin rights user Pin
H4u3215-Oct-08 3:22
H4u3215-Oct-08 3:22 
GeneralRe: Regarding Admin rights user Pin
Rajesh R Subramanian15-Oct-08 3:27
professionalRajesh R Subramanian15-Oct-08 3:27 
QuestionMaximizing and Minimizing main window in MDI application Pin
AnayKulkarni14-Oct-08 20:18
AnayKulkarni14-Oct-08 20:18 
AnswerRe: Maximizing and Minimizing main window in MDI application Pin
Naveen14-Oct-08 21:17
Naveen14-Oct-08 21:17 
AnayKulkarni wrote:
1)In MDI (Multiple Document Interface) application whenever we minimize or maximize application's main outer window then which function gets called which indicates that window is maximized or minimized and where it is?


When ever your window is maximized or minimized, the window will get WM_SYSCOMMAND message. so handle the WM_SYSCOMMAND message of the MainFrame class to know when your window is being maximized or minimized.

AnayKulkarni wrote:
2)Is there any flag value or any other value, through which I can know the current state of my application's main window means I can know that whether my main window is in maximized state or in minimized state? and if there is such a value then how can we get that value and where?


From the wParam of WM_SYSCOMMAND, you can know that. check MSDN[^] for more details.

AnayKulkarni wrote:
which we can know that whether our MFC application is being displayed on screen or not?


I guess your requirment is to know whether the current window is active window or not. In that case you can handle the WM_ACTIVATEAPP[^] message in your main frame class and track activation and inactivation of your application...

AnayKulkarni wrote:
It is really urgent


hmm..Other wise I wouldnt have answered Suspicious | :suss:


GeneralRe: Maximizing and Minimizing main window in MDI application Pin
AnayKulkarni15-Oct-08 19:30
AnayKulkarni15-Oct-08 19:30 
AnswerRe: Maximizing and Minimizing main window in MDI application Pin
David Crow15-Oct-08 3:34
David Crow15-Oct-08 3:34 
QuestionCreatePipe is not working properly Pin
singh_nav14-Oct-08 19:28
singh_nav14-Oct-08 19:28 
AnswerRe: CreatePipe is not working properly Pin
_AnsHUMAN_ 14-Oct-08 19:41
_AnsHUMAN_ 14-Oct-08 19:41 
AnswerRe: CreatePipe is not working properly Pin
sashoalm14-Oct-08 21:41
sashoalm14-Oct-08 21:41 
GeneralRe: CreatePipe is not working properly Pin
singh_nav14-Oct-08 22:38
singh_nav14-Oct-08 22:38 
GeneralRe: CreatePipe is not working properly Pin
sashoalm14-Oct-08 23:03
sashoalm14-Oct-08 23:03 
GeneralRe: CreatePipe is not working properly Pin
singh_nav15-Oct-08 19:39
singh_nav15-Oct-08 19:39 
GeneralRe: CreatePipe is not working properly Pin
sashoalm15-Oct-08 22:16
sashoalm15-Oct-08 22:16 
GeneralRe: CreatePipe is not working properly Pin
singh_nav16-Oct-08 17:50
singh_nav16-Oct-08 17:50 
GeneralRe: CreatePipe is not working properly Pin
sashoalm17-Oct-08 2:36
sashoalm17-Oct-08 2:36 
QuestionRunning applications in Full Administrative priviledges in Windows Vista Pin
SNI14-Oct-08 19:17
SNI14-Oct-08 19:17 
AnswerRe: Running applications in Full Administrative priviledges in Windows Vista Pin
Mark Salsbery15-Oct-08 7:00
Mark Salsbery15-Oct-08 7:00 
GeneralRe: Running applications in Full Administrative priviledges in Windows Vista Pin
SNI16-Oct-08 1:21
SNI16-Oct-08 1:21 
QuestionRe: Running applications in Full Administrative priviledges in Windows Vista Pin
Mark Salsbery16-Oct-08 4:16
Mark Salsbery16-Oct-08 4:16 
AnswerRe: Running applications in Full Administrative priviledges in Windows Vista Pin
SNI16-Oct-08 18:26
SNI16-Oct-08 18:26 
GeneralRe: Running applications in Full Administrative priviledges in Windows Vista Pin
SNI20-Oct-08 19:06
SNI20-Oct-08 19:06 

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.