User Profile

Collapse

Profile Sidebar

Collapse
shinichi81
shinichi81
Last Activity: Mar 9 '07, 05:10 PM
Joined: Mar 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • shinichi81
    replied to How to convert int to char?
    in C
    Basically, you can use sprintf() to convert integer, float, handle...into a string.
    See more | Go to post

    Leave a comment:


  • I'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....
    See more | Go to post

    Leave a comment:


  • shinichi81
    started a topic Hidden Windows Explorer
    in C

    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...
    See more | Go to post
    Last edited by Ganon11; Mar 5 '07, 06:16 PM. Reason: code tags added

  • 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...
    See more | Go to post

    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.
    See more | Go to post

    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!
    See more | Go to post

    Leave a comment:


  • shinichi81
    started a topic Could not refresh the Tree View of Windows Explorer
    in C

    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,...
    See more | Go to post
No activity results to display
Show More
Working...