How to detect that taskbar has moved ?

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Denis.

Hi All,

I'm looking for how to resize my app window when i move the taskbar.
I've tried with ABN_POSCHANGED Notification msg but without success. :cry:

Did anybody done this with success ?

Thanks for help


Denis
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Don't know anything about ABN_POSCHANGED Notification message, sorry.
But look under

http://www.reelmediaproductions.com/pb/ ... arinfo.zip

There you get some functions for the taskbar I wrote ages ago.
You can get the info where the taskbar is when the program starts - and watch for changes in your application loop. If it changed, act accordingly.

Hope this helps.

Have a nice day...

Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Denis.

Thanks Franco for Help.

I'm late to answer because i wasn't at home last 3 days.
I'll take a closer look to your code.


Denis

Bonne journée.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Denis.

Sometimes my brain is a little bit tired...

I need ABM_WINDOWPOSCHANGED msg instead ABN_POSCHANGED msg


ABN_POSCHANGED is the opposite that i need.


Denis :)

Bonne journée.
Post Reply