Click here to Skip to main content
Page 1 of 8
Page Size: 10 · 25 · 50


Author filtered by: Flaviu2 [x]
Forum Message 13 May 2013  
I want to ask you something: why CBitmap::CreateCompatibleBitmap() fail on large bitmap files ? I have: VERIFY(m_Bitmap.CreateCompatibleBitmap(pDC, nWidth, nHeight));
Extended CComboBox by Flaviu2
Article 10 May 2013   license: CPOL
A combobox control which shows a drop down window to assist user
Article 9 May 2013   license: CPOL
Tree ComboBox Control
Forum Message 7 May 2013  
I think that you are right ... thanks !
Forum Message 3 May 2013  
Does function well ... Thanks !
Forum Message 2 May 2013  
Thank you so much for your answers (both of you), I will try that right away and tell you what I've done ... but it came into my mind a question ... if I could store pointers into SetItemData(..
Forum Message 2 May 2013  
Another solution you can find here[
Forum Message 2 May 2013  
In a dialog I had replaced an CListBox with CListCtrl ... the old CListBox had used SetItemDataPtr, to store a CMyObjects pointers ... but CListCtrl have not such thing (CListCtrl::SetItemDataPtr) ...
Forum Message 30 Apr 2013  
Great, now does function ! Thanks !
Forum Message 29 Apr 2013  
I have an MDI application ... somewhere, I had open an CDialog derived dialog, where I have only two buttons ... but in this dialog I can not catch any OnKeyDown event ... why ? I had tried in follow
Forum Message 17 Apr 2013  
First of all, thank you for this excellent control, seems to be the best of this kind, (from my researches). Second, thank you for your promptness, you are very kind.
Forum Message 17 Apr 2013  
Have you tried your control in a MDI application ? Where can I initialize the controls inside of CExtStatusBar ?
Forum Message 14 Apr 2013  
And when I didn't have any child open ?
Forum Message 9 Apr 2013  
No, I think he hasn't, because I had tried that on a default MDI application ...
Forum Message 9 Apr 2013  
Well, I would like to catch double-click message on CMainFrame when I haven't any childs open ...
Forum Message 9 Apr 2013  
Why I can't catch CMainFrame::OnLButtonDblClk in CMainFrame ? void CMainFrame::OnLButtonDblClk(UINT nFlags, CPoint point) { // TODO: Add your message handler code h
VC6 project ? by Flaviu2
Forum Message 8 Apr 2013  
Hi, do you have a VC6 project version ? Thank you.
Forum Message 5 Apr 2013  
I found the problem: the destructor of CFileDialog had problems, and I slved in follow way: I used CFileDialog variable on the heap, just like this: CFileDialog* pDlgFile = new CFil
Forum Message 5 Apr 2013  
Of course I did ... something weird is happend ... because if I use only CFileDialog dlgFile(TRUE); in CMyApp::OnFileOpen and the application is crashing down .. I wonder if
Forum Message 5 Apr 2013  
Another trial: CString strFile; if (dlgFile.DoModal()==IDOK) { pos=dlgFile.GetStartPosition(); while (pos!=NULL) { strFile=dlgFile.GetNextPathName(pos); AfxMes
Forum Message 5 Apr 2013  
This is became strange: if I call only: OpenDocumentFile(_T("D:\\Flaviu\\SampleImages5\\Test.xxx")); , everything is OK, but when I go through normal way:
Forum Message 4 Apr 2013  
No, I didn't call CWinApp::OnFileOpen, but I call OpenDocumentFile(...), something like that: void CMyApp::OnFileOpen(void) { CFileDialog dlg(TRUE); i
Forum Message 4 Apr 2013  
Even if I used: void CMyApp::OnFileOpen(void) { CFileDialog dlgFile(TRUE); return; } and the application is crashing down ...
Forum Message 4 Apr 2013  
Inside of CMyApp::OnFileOpen I didn't call CWinApp:OnFileOpen .. here is the buggy code: void CMyApp::OnFileOpen(void) { CFileDialog dlgFile(TRUE); dl
OnFileOpen crashing by Flaviu2
Forum Message 4 Apr 2013  
I have weird bug: in a MDI aplication, if I mapped OnFileOpen in follow way: ON_COMMAND(ID_FILE_OPEN, OnFileOpen) after the document file has opened, the application crashe
Forum Message 17 Mar 2013  
Yes, they perfectly work togheter ... swend me an email, and I'll send to you a test application ...
Forum Message 14 Mar 2013  
This[^] one is pretty good ... hope it helps ...
Bitmap Menu by Flaviu2
Article 8 Mar 2013   license: CPOL
A simple way to have a bitmap menu without any bitmap resource or ownerdraw
Forum Message 28 Feb 2013  
How you draw the bitmap into picture control ?
Forum Message 25 Feb 2013  
Maybe this[^] will help you ...
Forum Message 19 Feb 2013  
I have a simple scenario: void CMyDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { } else { // something is going wrong, and I throw an exception, and I give to u
Memory leak by Flaviu2
Forum Message 19 Feb 2013  
Hi again. I had tried your project again, and I discover a memory leak: // // CustomTreeCtrlDlg.cpp : implementation file ... ... PCUSTOMITEMDATA pCustomData = new CUSTOMITEMDA
Re: Source Code by Flaviu2
Forum Message 18 Feb 2013  
Well, that will be great !!!!!!!!! You see, I use only VC6, and I get a lot, lot of warnings on STL ... I'll be greatfull !
Re: Source Code by Flaviu2
Forum Message 18 Feb 2013  
I was thinking to replace your "vector" with CArray, but right now I haven't time ... maybe in the future, and I'll write to you ... or maybe you have the version with CArray ? Anyway, thank you for c
Re: Source Code by Flaviu2
Forum Message 18 Feb 2013  
Yes, thank you, I have a little observation: is a really necesary to mix STL with MFC ? I mean, don't you can use CArray instead of vector ? In rest, is really interesting the article ... got my
Re: Source Code by Flaviu2
Forum Message 18 Feb 2013  
Thank you so much for code ... I have some errors (I'd compiled in VC6): no such file ... CCustomTreeCtrl.cpp when I saw on project directory, I saw that were named CCustom
Forum Message 17 Feb 2013  
You can look here[^], or,
Forum Message 17 Feb 2013  
Check [
Re: Play Media File by Flaviu2
Forum Message 30 Jan 2013  
Is this[^] article suitable for y
Forum Message 30 Jan 2013  
I like your control, but I would like to run some code to see how it's working ... would you put here your sample project ? And if you have a VC6 project, it would be perfect ! Thanks.
Forum Message 28 Jan 2013  
How can I get CBitmap from CDib ? I have tried in follow way: CBitmap Bitmap; Bitmap.FromHandle((HBITMAP)pDoc->m_Dib->m_hBitmap); doesn't work ... can you help me ? Thank
Forum Message 24 Jan 2013  
How you solve the problem ? Now you can catch OnLButtonUp on your CMyScrollBar class ?
Forum Message 23 Jan 2013  
I don't know if it's suitable for you, but why don't change the scrollbar style on left button down ? :) It's just an ideea ...
Forum Message 22 Jan 2013  
Weird, I have tested myself your application, and another one from [
Forum Message 15 Jan 2013  
Very simple: add manifest file in your project resource folder, and then open Resource.h: #if _MSC_VER
Forum Message 15 Jan 2013  
Well, then you only must setup a style for your application (setup manifest file) and you'll have a current system style on your button and CStatic. If I well understand ...
Forum Message 15 Jan 2013  
For button, you can use CBitmapButton[
Didactic example by Flaviu2
Forum Message 15 Jan 2013  
For that, you got my vote ! Thanks.

Page 1 of 8
1 2 3 4 5 6 7 8


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid