Resizing the desktop - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Resizing the desktop

I desperately need help with this. I'm making an application that will reside on the left side of the users screen. It always stay on top. Therefor I want to resize the desktop so that it doesn't overlap other windows. I've searched on Google and found out that the SHAppBarMessage() function can be used for this, however I haven't found any information on how to use it. Please help!

Comments

  • pritaeaspritaeas Posts: 274Member
    : I desperately need help with this. I'm making an application that will reside on the left side of the users screen. It always stay on top. Therefor I want to resize the desktop so that it doesn't overlap other windows. I've searched on Google and found out that the SHAppBarMessage() function can be used for this, however I haven't found any information on how to use it. Please help!
    :

    http://www.delphipages.com/tips/thread.cfm?ID=178
  • Freelancer42Freelancer42 Posts: 6Member
    [b][red]This message was edited by Freelancer42 at 2005-6-28 16:15:17[/red][/b][hr]
    : : I desperately need help with this. I'm making an application that will reside on the left side of the users screen. It always stay on top. Therefor I want to resize the desktop so that it doesn't overlap other windows. I've searched on Google and found out that the SHAppBarMessage() function can be used for this, however I haven't found any information on how to use it. Please help!
    : :
    :
    : http://www.delphipages.com/tips/thread.cfm?ID=178
    :
    Thanks, it's working great. Which brings me to another problem: How can I put my application in that area (the "appbar" area)?
    And another thing: How do you reset it on exit? Every time I run my program I have to restart Explorer.exe.....
  • pak77pak77 Posts: 28Member
    : [b][red]This message was edited by Freelancer42 at 2005-6-28 16:15:17[/red][/b][hr]
    : : : I desperately need help with this. I'm making an application that will reside on the left side of the users screen. It always stay on top. Therefor I want to resize the desktop so that it doesn't overlap other windows. I've searched on Google and found out that the SHAppBarMessage() function can be used for this, however I haven't found any information on how to use it. Please help!
    : : :
    : :
    : : http://www.delphipages.com/tips/thread.cfm?ID=178
    : :
    : Thanks, it's working great. Which brings me to another problem: How can I put my application in that area (the "appbar" area)?
    : And another thing: How do you reset it on exit? Every time I run my program I have to restart Explorer.exe.....
    :
    : If you haven't got the Win32SDK files you could try
    : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shappbarmessage.asp
    : This might have what you are looking for.
    : With regards to the reset problem, I quickly tried the ABM_REMOVE procedure. It works but could do with some fine tuning.

  • Freelancer42Freelancer42 Posts: 6Member
    : : [b][red]This message was edited by Freelancer42 at 2005-6-28 16:15:17[/red][/b][hr]
    : : : : I desperately need help with this. I'm making an application that will reside on the left side of the users screen. It always stay on top. Therefor I want to resize the desktop so that it doesn't overlap other windows. I've searched on Google and found out that the SHAppBarMessage() function can be used for this, however I haven't found any information on how to use it. Please help!
    : : : :
    : : :
    : : : http://www.delphipages.com/tips/thread.cfm?ID=178
    : : :
    : : Thanks, it's working great. Which brings me to another problem: How can I put my application in that area (the "appbar" area)?
    : : And another thing: How do you reset it on exit? Every time I run my program I have to restart Explorer.exe.....
    : :
    : : If you haven't got the Win32SDK files you could try
    : : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shappbarmessage.asp
    : : This might have what you are looking for.
    : : With regards to the reset problem, I quickly tried the ABM_REMOVE procedure. It works but could do with some fine tuning.
    :
    :
    Thanks, that worked too.
Sign In or Register to comment.