In some case, I would like my application to hide its dialog as soon as my application start. I post message "WM_HIDEWINDOW" to the main dialog self in OnInitDialog, but there is a flash in screen before the dialog was realy hidden. Is there any other good idea to prevent or reduce the flash? Nothing impossible, Nothing sure
NianHawk
Posts
-
How to hide my dialog without any flash as soon as my application start? -
How to lock taskbar in my programThanks a lot Nothing impossible, Nothing sure
-
Minimize application from taskbargood idea, just what's the message number of clicking the icon in the taskbar instead of system tray area. I think we need to respond the message to minimize our application. Nothing impossible, Nothing sure
-
How to lock taskbar in my programThanks for your help. I mis-thought there had not benn reply yet because I didn't receive the response mail as usual, maybe last time I missed to check "Notify me by e-mail if someone answers this message". My email is : NianHawk@invalid.hotmail.com (please discard "invalid"). Which functionality! ===> I just lock the taskbar by taskbar menu. Best regards. Nothing impossible, Nothing sure
-
How to lock taskbar in my programIt did work well, thank a lot. I have another question if you wouldn't feel disturbed, Actually I use spy to monitor taskbar, if my program send such WM_COMMAND msg to taskbar, spy can capture it. But if I do it manually by using winxp functionality, spy didn't show this msg, that is why I always can't get this msg. Could you be so kind to teach me something about it? Nothing impossible, Nothing sure
-
How to lock taskbar in my programHi Tomas, Your help would be greatly appreciated, in fact I send WM+USER+336 to taskbar, but it didn't work, which make me feel that it can't be done by sending a message. And then I try another way below: CToolBar* trayWnd = (CToolBar*)FromHandle(hShellTrayWnd); DWORD barStyle = trayWnd->GetBarStyle(); barStyle |= CBRS_SIZE_FIXED; trayWnd->SetBarStyle(barStyle); It also didn't work, I was really frustrated, the style of taskbar vary every time even though I remove "trayWnd->SetBarStyle(barStyle)". For example, sometimes barStyle is 380, but sometimes it is 376, and other times, it is another value. it is very strange for me. Nothing impossible, Nothing sure
-
How to lock taskbar in my programAs you know, we can lock taskbar manually, But I would like to lock taskbar by my own program. I try to do it by the following code: DWORD style = GetWindowLong(hShellTrayWnd,GWL_STYLE); style &= ~WS_SIZEBOX; SetWindowLong(hShellTrayWnd, GWL_STYLE, style); Unfortunately, it didn't work as I expected. Does anyone know how to do it? Your help would be greatly appreciated. Nothing impossible, Nothing sure
-
How to get pidl for Quick launch?Hi, I would like to browse all files&folder under Quick Launch for all users instead of only some certain user. Because different user was allocated with different path for Quick Launch, I have to use pidl to browse for all users. Unfortunately, I didn't know how to get its pidl by SHGetSpecialFolderLocation because I don't know the CSIDL value that identifies the folder of interest. Does anyone know it? I would really appreciate it. Nothing impossible, Nothing sure
-
How to get frequent programs list in the Start Menu?I know I can remove frequent programs list by modifying registry. but I would like my program to get frequent programs list so that I can hide some of them. So does anyone can help me on the two question below 1. How to get frequent programs list so that I can get path for each program. 2. How to hide the virtual folder in frequent programs list. If there is a virtual folder provided by a shell extension, how can I hide it? Your help would be greatly appreciated. Nothing impossible, Nothing sure
-
How to hide system folderHi, I know IShellFolder::GetAttributesOf can get property of any sys folder. But how can I hide sys folder? which function can do it? Nothing impossible, Nothing sure