Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dimitri Rochette

@Dimitri Rochette
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Gets the coordinates of the cursor's hot spot
    D Dimitri Rochette

    I was seeking the gethotspot api few months ago and never found it. it should be in the CURSORINFO struct but it isn't. If someone know a way to get this hot spot i'm very interested in too. I need it to remove a define in my code. Dimitri Rochette

    C / C++ / MFC question

  • Loading Bitmaps transparent
    D Dimitri Rochette

    if your talking about LR_LOADTRANSPARENT here is perhaps the answer. First of all LR_LOADTRANSPARENT does not load transparent image. it replace the first color by COLOR_WINDOW. COLOR_WINDOW is the backgroud color of edit,combobox... by defaut it's white. To change this color by another, you need to replace this color in your window theme. The second problem is that LR_LOADTRANSPARENT works only with 8bpp images. The easyest way to use real transparent images is to use CommonControls ImageList. If you only want to replace one backgroud color by another CommonControls CreateMappedBitmap is perhaps a best solution. Dimitri Rochette

    C / C++ / MFC help question

  • BOOL vs bool ?
    D Dimitri Rochette

    i dont read every answers but bool is one byte or less. struct DemoSize1 { bool a; } sizeof (DemoSize1) is 1 byte; struct DemoSize2 { bool a; bool b; } sizeof (DemoSize2) is 2 byte; struct DemoSize3 { bool a:1; bool b:1; } sizeof (DemoSize3) is 1 byte; in the last case a and b share the same byte. Dimitri Rochette

    C / C++ / MFC c++ question visual-studio

  • ration button
    D Dimitri Rochette

    Using Win32 SDK BOOL EnableWindow( HWND hWnd, // handle to window BOOL bEnable // enable or disable input );

    C / C++ / MFC business tutorial question

  • Spin Control Problem!!!
    D Dimitri Rochette

    The "wrong way" is the default way for spin controls. you will have to use a SetRange32( int nLower, int nUpper ); Set nLower to the MAXIMUN set nUpper to the MINIMUM

    C / C++ / MFC question help learning

  • How do i set a Radio Button's state in with win32 api's?
    D Dimitri Rochette

    SendMessage is Great but there is a macro which do the same BOOL CheckDlgButton( HWND hDlg, // handle to dialog box int nIDButton, // button identifier UINT uCheck // check state );

    C / C++ / MFC question c++ json

  • how to lock PC?
    D Dimitri Rochette

    there is NO solution if someone can open your PC case. The best solution is bios password and padlock on the case.

    C / C++ / MFC help tutorial question

  • DLL hell. please help!
    D Dimitri Rochette

    If you want to allocate memory in a Dll and free this memory elsewhere you can use a GlobalAlloc / GlobalFree ( with the GMEM_FIXED flag you only have to change the alloc and the free lines ).

    C / C++ / MFC help debugging data-structures performance question

  • What color is gray?
    D Dimitri Rochette

    Hope this could help you. GetSysColorBrush http://msdn.microsoft.com/library/en-us/wceui40/htm/cerefGetSysColorBrush.asp GetSysColor http://msdn.microsoft.com/library/en-us/sysinfo/base/getsyscolor.asp

    C / C++ / MFC regex tutorial question

  • How do i fix a user breakpoint?
    D Dimitri Rochette

    if you allocate memory, then write something to it plus 1 byte or more. You could have a "user breakpoint" when you'll free the memory block.

    C / C++ / MFC debugging question json performance help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups