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
A

Alin Negru

@Alin Negru
About
Posts
8
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Removing Duplicates from CListCtrl
    A Alin Negru

    something like this: bool bIdExists = false; CString strIdListTemp = ""; for(int i = 0; i< m_messageList.GetItemCount(); i++) { CString strIdList = m_messageList.GetItemText(i, 4); if( strIdList == m_yourDuplicateStr) { strIdListTemp = strIdList; bIdExists = true; } } if(bIdExists) { CString temp = ""; temp.Format("Str: %s already exists", strIdListTemp); AfxMessageBox(temp); } else { //ok, do further processing }

    C / C++ / MFC question

  • SDI and multiple views
    A Alin Negru

    try on http://www.codeguru.com/doc_view/index.shtml[^]. there are a lot of examples there

    C / C++ / MFC question

  • How to maximize a child window in a MDI project
    A Alin Negru

    Add a handler for WM_CREATE in CChildFrame and there ShowWindow(SW_MAXIMIZE);

    C / C++ / MFC help tutorial

  • static control color
    A Alin Negru

    RGB(192, 192, 192) :)

    C / C++ / MFC question tutorial

  • CListCtrl improving
    A Alin Negru

    JensB wrote: void CMyEdit::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos) { CRect temp= GetPosition();// use CRect instead of RECT and it will work lpwndpos->x = temp.left; lpwndpos->y = temp.top; lpwndpos->cx = temp.Width(); lpwndpos->cy = temp.Right(); SetPosition(temp); }

    C / C++ / MFC question tutorial

  • static and non-static function
    A Alin Negru

    wow9999 wrote: Can a static function call a non-static function inside the same class? no or Can a static function call a non-static function in different class? no

    C / C++ / MFC question

  • Message Handling in Controls instead of Dialog
    A Alin Negru

    As I understood you have your own class CComboBoxEx in which you have implemented a handler for WM_CHAR, right? And more you want to use this combo in your dialog. Then if this is correct then add a combobox to your dialog by dragging it from the resource editor and add a member variable to that combo of the type CComboBox. Then go where your variable was added and change the variable from type CComboBox to CComboBoxEx. I hope I understood corectly your question...

    C / C++ / MFC help question

  • Using the perfmon tool I've seen that my application acumulates handlers, is it bad?
    A Alin Negru

    Joan Murt wrote: I would like to know: 1. is it normal? 2. how can I know where do I occupy a handler that I don't free? 3. how do I free a handler? 1. NO, is not normal! 2. maybe it's a file HANDLE, an event HANDLE(check to see if you don't create a handle everytime you create a property sheet.(CreateEvent, CreateThread...)) 3. look at BOOL CloseHandle( HANDLE hObject // handle to object to close ); in MSDN. It's very self explanatory

    C / C++ / MFC question performance
  • Login

  • Don't have an account? Register

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