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
N

NoName II

@NoName II
About
Posts
39
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why I can't beging thread from myclass constructor?
    N NoName II

    thanks...

    C / C++ / MFC help question

  • Why I can't beging thread from myclass constructor?
    N NoName II

    CMyClass::CMyClass() { m_thread=(HANDLE)_beginthreadex(0,0,&MyClass::MyFunct,0,0,0);//error C2664: '_beginthreadex' : cannot convert parameter 3 from 'unsigned int (__stdcall CMyClass::* )(void *)' to 'unsigned int (__stdcall *)(void *)' } CMyClass::~CMyClass(void) { CloseHandle(m_thread); } unsigned __stdcall CMyClass::MyFunct(void* param) { return 0; }

    C / C++ / MFC help question

  • Can JavaScript Email a Form?
    N NoName II

    and if can... how to do it?

    Web Development javascript tutorial question

  • modeless dialog error
    N NoName II

    tryin to create modeless dialog... m_dlg->Create(CMyDlg::IDD, &m_tabctrl/*CTabCtrl*/);// ASSERT(pWnd->m_hWnd == NULL); // debug error constructor: CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/) //: CDialog(CMyDlg::IDD, pParent) { this->Create(CMyDlg::IDD, pParent); this->ShowWindow(SW_NORMAL); }

    C / C++ / MFC debugging help

  • CListCtrl: subitem edit problem
    N NoName II

    wrote smth like this..... void CGraphDataEdtDlg::OnBeginlabeledit(NMHDR *pNMHDR, LRESULT *pResult) { NMLVDISPINFO *pDispInfo = reinterpret_cast(pNMHDR); if (m_subitem) { CEdit *edit=m_list.GetEditControl(); if (edit!=NULL) { CRect rtSubItem; m_list.GetSubItemRect(m_item,m_subitem,LVIR_BOUNDS ,rtSubItem); edit->MoveWindow(rtSubItem); CString str; str.Format(_T("left top(%d,%d)\nright bot(%d,%d)"),rtSubItem.left,rtSubItem.top,rtSubItem.right,rtSubItem.bottom); AfxMessageBox(str); edit->SetWindowText(m_list.GetItemText(m_item,m_subitem)); } } *pResult = 0; } call this function with m_list.EditLabel(item); as result my editcontroler always covers 0-subitem of item-raw....

    C / C++ / MFC help question

  • CListCtrl: subitem edit problem
    N NoName II

    I mean else... i'd like to edit subitem text in controler

    C / C++ / MFC help question

  • CListCtrl: subitem edit problem
    N NoName II

    I have CListCtrl(REPORT) which uses the LVS_EDITLABELS style. Have can I edit subitem of the list?

    C / C++ / MFC help question

  • CPropertySheet:How can I hide standart buttons or change button text?
    N NoName II

    how can I get access to te buttons?

    C / C++ / MFC question

  • CPropertySheet:How can I hide standart buttons or change button text?
    N NoName II

    I have CpopertySheet..WizardMode and i'd like to hide back-button for one CPropertyPage of my sheet...and rename it for another how can I do it?

    C / C++ / MFC question

  • DrawString(GDI+) & CString
    N NoName II

    Can't draw CString string with DrawString(GDI+) CString str=_T("test string"); FontFamily fontFamily(L"Times New Roman"); Font font(&fontFamily, 24, FontStyleRegular, UnitPixel); PointF pointF(30.0f, 10.0f); SolidBrush solidBrush(Color(255, 0, 0, 255)); graphics.DrawString(str.GetBuffer(), -1, &font, pointF, &solidBrush);

    C / C++ / MFC graphics winforms

  • can't use CPropertySheet constructor???
    N NoName II

    CPropertySheet properties(_T("вфыавав"), this, 0);//error C2664: 'CPropertySheet::CPropertySheet(UINT,CWnd *,UINT)' : cannot convert parameter 1 from 'const wchar_t [13]' to 'UINT' ??? but CPropertySheet have constructor with LPCTSTR as the 1st parameter explicit CPropertySheet( LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0 );

    C / C++ / MFC help question

  • Yow can I serialize Color object (GDI+)
    N NoName II

    Could you post article here...or emai...

    C / C++ / MFC winforms graphics

  • Yow can I serialize Color object (GDI+)
    N NoName II

    I can't.... mybe the priblem is couse use Opera?

    C / C++ / MFC winforms graphics

  • Yow can I serialize Color object (GDI+)
    N NoName II

    can't brouse the page...are u sure about the link?

    C / C++ / MFC winforms graphics

  • Yow can I serialize Color object (GDI+)
    N NoName II

    the subj.

    C / C++ / MFC winforms graphics

  • strange error GDI+
    N NoName II

    the problem was solved. reason was that MFC DEBUG_NEW Does Not Work with GDI+

    C / C++ / MFC graphics winforms help

  • strange error GDI+
    N NoName II

    trying to create Bitmap object Bitmap *backBitmap; backBitmap=new Bitmap(GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));//error C2660: 'Gdiplus::GdiplusBase::operator new' : function does not take 3 arguments

    C / C++ / MFC graphics winforms help

  • How to add Image(GDI+) object to CImageList
    N NoName II

    need to add some images thumbnail to CImageList

    C / C++ / MFC winforms graphics tutorial

  • How to create CTabCtrl with dialog as laying
    N NoName II

    did as u say.... CMyDialog *MyDialog;//in MainDlg header file MyDialog = new CMyDialog; //in mainDlg constructor CMainDlg::OnInitDialog{ TC_ITEM TabItem; TabItem.mask = TCIF_TEXT; TabItem.pszText = _T("111111"); m_tabctrl.InsertItem( 0, &TabItem ); TabItem.mask = TCIF_PARAM; TabItem.lParam = (LPARAM)MyDialog; m_tabctrl.SetItem(0, &TabItem); VERIFY(MyDialog->Create(CMyDialog::IDD, &m_tabctrl)); MyDialog->ShowWindow(SW_SHOW); } CMyDialog constructor CMyDialog::CMyDialog(CWnd* pParent /*=NULL*/) : CDialog(CMyDialog::IDD, pParent) { /*this->Create(CThumbViewDlg::IDD, pParent); this->ShowWindow(SW_NORMAL);*/ } error in HWND CDataExchange::PrepareCtrl if (pSite == NULL) { TRACE(traceAppMsg, 0, "Error: no data exchange control with ID 0x%04X.\n", nIDC); ASSERT(FALSE); AfxThrowNotSupportedException();//<-------------------------------------| }

    C / C++ / MFC help tutorial

  • How to create CTabCtrl with dialog as laying
    N NoName II

    wrote smth like this... variables: CTabCtrl m_tabctrl; CDlg1* dlg1; CDlg2*dlg2 MyDialog constructors ... : CDlg1::CDlg1(CWnd* pParent /*=NULL*/) //: CDialog(CDlg1::IDD, pParent) { this->Create(CDlg1::IDD, pParent); this->ShowWindow(SW_NORMAL); } BOOL CMainDlg::OnInitDialog() { CDialog::OnInitDialog(); m_tabctrl.InsertItem(0,_T("1111")); m_tabctrl.InsertItem(1,_T("2222")); dlg1=new CDlg1(GetDlgItem(IDC_TAB1)); dlg1->ShowWindow(SW_SHOW);// error IsWindow=false }

    C / C++ / MFC help tutorial
  • Login

  • Don't have an account? Register

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