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
S

sheshidar

@sheshidar
About
Posts
89
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Instead of using nested if-else
    S sheshidar

    if (true)
    {
    if (true)
    {
    if (true)
    {
    return true;
    }
    else
    {
    }
    }
    else
    {
    }
    }
    else
    {
    }

    Do you need to do something in each else block? if yes than follow the same, else you can use

    if((condition1)&&(condition2)&&(condition3))
    return true;
    else
    return false;

    C / C++ / MFC

  • Best way of breaking from for loop
    S sheshidar

    I do agree with cPallini. Use break for your condition.

    C / C++ / MFC tutorial question

  • Private Destructor
    S sheshidar

    Test *testP = new Test(); // work fine

    what about delete?

    C / C++ / MFC question tutorial

  • parent window is getting closed once child window is closed, how to keep parent dialog box alive?
    S sheshidar

    Hi, OnClose is not a member of CDialog. And how it will close the dialog? Can you write a bit more about problem. I mean along with code.

    C / C++ / MFC question tutorial

  • Mullti line in combobox
    S sheshidar

    Hi is it possible to show a single item's text in multiple line in a combo box? Thanks

    C / C++ / MFC question

  • How can I show only Cancel button on Messagebox
    S sheshidar

    Thanks Guys, I created a new dialog to work with cancel button. I wanted to try with messagebox only. Any way thanks for ur replies.

    C / C++ / MFC question

  • How can I show only Cancel button on Messagebox
    S sheshidar

    Hi All, I am trying to show a message box with only one button"Cancel".

    int MessageBox( HWND hWnd,
    LPCTSTR lpText,
    LPCTSTR lpCaption,
    UINT uType
    );

    in uType we can give MB_OK or MB_OKCANCEL. But I want to have only one button on messagebox ie "Cancel". how can I get this. Thanks .. Sheshidar

    C / C++ / MFC question

  • How to change width of a combo box at run time
    S sheshidar

    Hi All, Is it possible to change width of a combo box at run time ? ex: I have data like One two Thirteen ThousandFourty in the combo box. whenever user select a string from above, combo box should be resized with the length of selected string. Thanks.. Sheshidar P

    C / C++ / MFC tutorial question

  • Problem in DropList Combobox.
    S sheshidar

    CComboBox m_Cmb;
    m_Cmb.SetCurSel(0);

    C / C++ / MFC help question

  • CListCtrl Prevent Column Resizing
    S sheshidar

    Hi.. If you want to fix the width of columns even if user resize them, then use handle NM_CUSTOMDRAW . in this message handler you again write the code for width of columns void Cxyz::OnNMCustomdrawListFunc(NMHDR *pNMHDR, LRESULT *pResult) { LPNMCUSTOMDRAW pNMCD = reinterpret_cast<LPNMCUSTOMDRAW>(pNMHDR); m_list.SetColumnWidth(1,50); m_list.SetColumnWidth(2,50); *pResult = 0; }

    C / C++ / MFC c++ visual-studio help tutorial

  • Adding an exe into resource in MFC
    S sheshidar

    [Message Deleted]

    C / C++ / MFC c++ tutorial question learning

  • COM dll connect to console client
    S sheshidar

    hi this is suresh........... i have written a comdll using Win32 dynamic link library.so the dll has run without Bugs, next my client in console....... #include #include #include "iids.h" #include "interface.h" void main() { CoInitialize(NULL); I1* p1=NULL; HRESULT hr=CoCreateInstance(CLSID_D,NULL,CLSCTX_ALL,IID_I1,(void**)&p1); if(FAILED(hr)) { cout<<"sorry component cannot be created "<<endl; } p1->f1(); I2 *p2; p1->QueryInterface(IID_I2,(void**)&p2); p2->f2(); p1->Release(); p2->Release(); CoUninitialize(); } so finally i cannot co-create the component

    COM com announcement

  • Working with two classes
    S sheshidar

    class CMsgRecorder { public: void SetGroupState(char chState) { do-something; } }; Now you can use multi-one inheritance like this class CRfSvrDriver : public CMsgRecorder,public CCmdDriver { public: void ShowInfo() { SetGroupState();//calls the base function CMsgRecorder::SetGroupState } };

    C / C++ / MFC help question

  • Problem with 'Delete' key.
    S sheshidar

    But if i do the same thing without selecting the text then it is not deleting the characters. Can you tell me is the cursor is focused in edit box when you are deleting the text in edit box.

    C / C++ / MFC question help

  • How to learn Debugging Tools
    S sheshidar

    Hi All, I like to learn Debugging tools. Can any one send some links which r useful for me Thx a lot..

    C / C++ / MFC tools tutorial

  • Toltip for Combo Box
    S sheshidar

    I didn't mean that i do not write my own. I do not want to include any new file in my project

    C / C++ / MFC help

  • 2 projects having same dsw files and different dsp file
    S sheshidar

    ?? Do you mean calling one exe in another exe??

    C / C++ / MFC debugging tutorial question

  • Toltip for Combo Box
    S sheshidar

    Hi Paresh, Thx a lot for your reply, I already refered to that article, there a new class is written for ComboBoxx,but I do not want to write any extra classes.

    C / C++ / MFC help

  • Toltip for Combo Box
    S sheshidar

    Hi All, I am using a combo box in dialog I want to use tool tip for data in combo. When user drag the combo tool tiphas to show for item focused in combo Can any one help me.

    C / C++ / MFC help

  • ToolTip for comboBox
    S sheshidar

    Hi All.

    C / C++ / MFC
  • Login

  • Don't have an account? Register

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