Windows Mobile full screen code

Source: Internet
Author: User

Today,

Windows Mobile graphic image programming

Http://blog.csdn.net/favormm/archive/2009/07/18/4359845.aspx

Is translated as followsArticle

Pixel graphics programming on Windows Mobile

Http://www.codeproject.com/KB/mobile/Caleidoscope.aspx? MSG = 2056946

 

I used a littleCodeTo load the window class initialization method to achieve full screen

Yes.

Header:Aygshell. h.
Link Library:Aygshell. Lib.

/*****************************/
// Use the following code to make the window full screen:

Rect RC;

// Hide Task Bar and other icons
Shfullscreen (m_hwnd, shfs_hidetaskbar | shfs_hidestarticon | shfs_hidesipbutton );

// Resize window to cover Screen
Setrect (& rc, 0, 0, getsystemmetrics (sm_cxscreen ),
Getsystemmetrics (sm_cyscreen ));
Movewindow (RC. Left, RC. Top, RC. right-rc.left, RC. bottom-rc.top, false );
/*****************************/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.