Minimize Application

Discussion in 'Questions (Windows Mobile)' started by akr, Oct 18, 2007.

  1. akr

    akr New Member Licensed User

    Hello,

    is there a way to minimize an application (form) using a button control?
    Something like:

    Sub Button3_Click
    Form1.minimize 'or form1.hide
    End Sub

    I'm writing a program used in a car with only very few but large controls.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use Hardware.ShowTodayScreen to minimize your application.
    Code:
    Sub Button3_Click
     Hardware.ShowTodayScreen
    End Sub
     
  3. akr

    akr New Member Licensed User

    Thanks for the fast reply.
    After installing the current version of hardware.dll it works.
     
  4. alfcen

    alfcen Well-Known Member Licensed User

  5. akr

    akr New Member Licensed User

    Thank you alfcen,

    I didn't find the time for testing, but at the first glance that looks pretty good.
     
  6. ghale

    ghale Active Member Licensed User

    But the NotifyIcon library, works or not with 6.80 and optimized compiling???

    Update:
    I've find the ControlsExDevice library interesting.
    In practice, I need this:
    I want to minimize a form showing an icon in the Notification Area on PPC.
    When I click on the icon, the application form go on the screen.

    I've tried NotifyIcon, but with 6.80 and optimized compile, it doesn't work.
    So, I've tried ControlsExDevice Notification method, but the icon is showed in the title, not on Notification Area.

    What I have to do?

    Someone can help me, please?
     
    Last edited: Aug 15, 2009
Loading...