Pocket PC FAQ Forums Forum Index Pocket PC FAQ Forums
The place to discuss Windows Mobile, Pocket PCs, Smartphones, Handheld PCs, Windows CE and More!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Minimizing Windows in .netcf

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows CE Questions/Comments
View previous topic :: View next topic  
Author Message
maanikmca
Pocketeer


Joined: 20 Nov 2010
Posts: 8

PostPosted: Fri Dec 10, 2010 3:10 am    Post subject: Minimizing Windows in .netcf Reply with quote

Hi am developing windows ce application,

here i need to create minimize button, i have tried but it just takes my windows to background its not at all minimizing ?

[DllImport("coredll.dll")]
static extern int ShowWindow(IntPtr hWnd, int nCmdShow);

const int SW_MINIMIZED = 6;




this.WindowState = FormWindowState.Normal;
this.ControlBox = false;

this.MinimizeBox = true;
this.MaximizeBox = true;

// Since there is no WindowState.Minimize, we have to P/Invoke ShowWindow
ShowWindow(this.Handle, SW_MINIMIZED);


i cant minimize the window, is possible to minimize the windows in windows ce application ?


if so, please give me some article link ?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Pocket PC FAQ Forums Forum Index -> Windows CE Questions/Comments All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Copyright 2001-2010, Chris De Herrera, All Rights Reserved

Powered by phpBB © 2001, 2005 phpBB Group