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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
O

only coder

@only coder
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Popup menu on cgridctrl
    O only coder

    you have to get submenu for show like this: pM = new CMenu(); pM->LoadMenu(IDR_POPUP); CMenu* pSubMenu = pM->GetSubMenu(0); pSubMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, mypoint.x,mypoint.y, AfxGetMainWnd());

    C / C++ / MFC css debugging question

  • Capture Minimize and Restore events in wondows.
    O only coder

    WM_SYSCOMMAND wParam : SC_MINIMIZE SC_RESTORE

    C / C++ / MFC

  • identical mechanism in c++ like "CList" in MFC
    O only coder

    STL list

    C / C++ / MFC c++ question help

  • Problem while Running the Application in Release Configuration
    O only coder

    You can use AfxMessageBox function to deflate the error code.

    C / C++ / MFC help c++ com debugging announcement

  • Memory usage
    O only coder

    MS's bug.

    C / C++ / MFC graphics performance

  • checkbox caption
    O only coder

    WM_CTLCOLOR

    C / C++ / MFC tutorial question

  • BitMap button
    O only coder

    For the button caption “MYIMAGE,” for example, the IDs would be “MYIMAGEU,” “MYIMAGED,” “MYIMAGEF,” and “MYIMAGEX.” You must specify the ID of your bitmaps within double quotes.

    C / C++ / MFC c++ graphics

  • Posting Message to another Application Window
    O only coder

    you must get the control id first. to get control id, you can use FindWindow and GetDlgCtrlID()... then: HWND hWnd = FindWindow(....); ::SendMessage( hWnd, WM_COMMAND, nButtonID, 0 );

    C / C++ / MFC help tutorial

  • How to make server and client in one program?
    O only coder

    use two sockets, one for listen, one for send.

    C / C++ / MFC c++ javascript com sysadmin help

  • Calculated values from different functions to a single function.
    O only coder

    typedef struct tagRET_VAL { int code; void* pValue; }RET_VAL, *PRETVAL; enum CODE{ CODE_INT, CODE_STRING }; void fun1() { int a = 10; RET_VAL rv; rv.code = CODE_INT; rv.pValue = &a; return &rv; } void fun2() { char s[] = "hello"; RET_VAL rv; rv.code = CODE_STRING; rv.pValue = s; return &rv; } void GetValue( PRET_VAL pRV ) { switch( pRV->code ) { case CODE_INT: // do something with (int *)pRV->pValue .... break; case CODE_STRING: // do something with (char *)pRV->pValue ... break; } }

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

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