User Profile
Collapse
-
Basically, you can use sprintf() to convert integer, float, handle...into a string. -
shinichi81 replied to Detecting CD ROM is writable or not and to detect whether CD is present or notin CI'm not sure but you can try with DeviceIoControl (), this function returns many information relate to device, drives.
To check a disk is in CD drive or not (similar to floppy disk), you can use GetVolumeInform ation().
Hope this help....Leave a comment:
-
Hidden Windows Explorer
1. I create a background Windows Explorer (by using CreateProcess() function with szCmdline = "explorer.e xe /select,C:\" and hidden option).
After that, from Desktop, right click "My Computer" then select "Open". If I close this Windows Explorer, my hidden windows is disappeared.??? (they all have the same class name, "CabinetWClass" ). Do you have any idea about this?
2. Is it... -
Sorry for a bit further question.
Now in 32bit environment, If I update icon information, for example:
- Key: HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \Explorer\Drive Icons\C\Default Icon
- Set default value = C:\Windows\Syst em32\Shell32.dl l,12
the icon of C drive will be changed.
Now I want to support this feature on 64bit environment. I dont know if I update above key, the drive...Leave a comment:
-
Thanks DeMan for your reply.
I could solve this problem now. I used SendMessageTime out(HWND_BROADC AST, WM_SETTINGCHANG E...) instead of sending WM_COMMAND. By using this, drive icons will be updated on both tree view & list view.Leave a comment:
-
There is 1 more important point:
- I select "My Computer" and collapse it (to hide C drive) then perform refreshing (as my previous post). After that, expand "My Computer" again, the icon is updated (of-couse I mean on WinXP).
Please help me!Leave a comment:
-
Could not refresh the Tree View of Windows Explorer
Could anyone help me?
After updating icon for a drive, for example C drive by specifying icon file at HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \Explorer\Drive Icons\C\Default Icon, I want to refresh at Windows Explorer and below is processing flow:
- Read a metrics value, for example "Shell Icon Size" at HKEY_CURRENT_US ER\Control Panel\Desktop\W indowMetrics
- Decrease icon size by 1
- SendMessage(HWN D_BROADCAST,...
No activity results to display
Show More
Leave a comment: