Set the window always on top

Discussion in 'Perl Misc' started by zaffran_ad, Sep 18, 2006.

  1. zaffran_ad

    zaffran_ad Guest

    Hi,

    i'm french so sorry for my english skill...

    i need some help ;)

    i use the win32 api with win32::GUI and i would like set the main
    window of my application always on top.

    It may exist a proprety that allow us to do that... like maybe
    $Window->SetToTop(1) or something else...

    Thx!
     
    zaffran_ad, Sep 18, 2006
    #1
    1. Advertisements

  2. zaffran_ad

    Paul Lalli Guest

    I've never used the module, but some Google'ing suggests you should try
    adding the
    -topmost => 1
    attribute to your Win32::GUI::new() constructor.

    Paul Lalli
     
    Paul Lalli, Sep 18, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.