WorldWeather source code post by Stan
#1
Hello Stan,

Thanks for posting.

First the dialog is too high for my 14" laptop screen, the bottom buttons are cut off.  I've made my own adjustments to fit by moving the buttons to right stacked top to bottom.   Sorry, I didn't realize you changed the code. Ops! 

I wanted to mention, when I close the dialog using the taskbar, it stays in memory.  Closing the dialog using the  close [X] button kills it fine.  

WorldWeather.bas
Reply
#2
Quote:... when I close the dialog using the taskbar, it stays in memory.

Because "Dialog Show Modal hNews, Call NewsProc" was used.

Use MODELESS and message pump for top window for task bar close in Windows 11.
MODAL is okay for child windows.

Cheers,
Reply
#3
changed to MODELESS dialog
fixed button on popup
added Borje Hagsten's EnableVisualStyles.bas code
made it theme aware
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)