Announcement
Collapse
No announcement yet.
Where does minimize icon come from?
Collapse
X
-
I get this a lot with message boxes. Windows glitch. Happens differently depending on if message box is called from main app or thread too.
-
Flush the Windows' icon cache (Google it or use TweakUI), if the icon was referenced by Explorer in connection with the app it will still be in the cache. Alternately, put an icon in your app's resource and/or use DIALOG SET ICON. This will force Windows to use the new icon.
Leave a comment:
-
an icon that once was in the folder where my .bas file is located, but is no longer there and is not referenced in any way in my program.
Here's a previous thread on a different topic, but dealing with similar-sounding symptoms:
http://www.powerbasic.com/support/pb...ad.php?t=39340
Maybe the same, maybe not. I can't tell. But it sure seems familiar!
Might want to check the MSDN:
MSDN > MSDN Library > Win32 and COM Development > Windows Driver Kit > Device and Driver Technologies > Installable File System > Reference > File System Runtime Library Routines
and piece together the workings of the "file tunneling" feature...
For example, under "File System Runtime Library Routines", read:
FsRtlFindInTunnelCache
FsRtlDeleteTunnelCache
I found a workaround, so I did not master this situation this time around. But I have it on my list of things to learn "someday".
Hope this helps!
-jhm
Leave a comment:
-
Where does minimize icon come from?
I'm getting an icon to show in the taskbar that is not called in my test application. This very simple code creates an icon on the tray other than the default "blank" icon:
Code:#Compile Exe Function PBMain() Dim hDlg As Dword Dialog New Pixels, 0, "",,, 500,250, %WS_OverlappedWindow , To hDlg Dialog Show Modal hdlg End Function
Do anyone know why that happens?
I can use Dialog Set Icon to call out a specific icon and everything works as it should. But I wouldn't think the code above should have an icon to use in the taskbar.
Thoughts?Tags: None
Leave a comment: