Type: Posts; User: mesajflaviu
Search took 0.01 seconds.
December 17th, 2015, 06:33 AM
OK, thank you ... at least I know where to go.
December 15th, 2015, 03:41 AM
Kindly thank you Mike ... and how should I get/set thumbs color of CScrollbar ? As I said before, I don't think that redrawing whole control could be a solution ...
December 7th, 2015, 04:42 AM
I have tried to handle ON_WM_DRAWITEM():
void CScrollBarExt::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
// TODO: Add your message handler code here and/or call default
December 4th, 2015, 06:40 AM
I am trying to coloring thumbs on CScrollBar control ... in order to achieve that, I derived a class from CScrollBar, named CScrollbarExt, and I handled CtlColor:
November 17th, 2015, 02:28 AM
"MFC has been around for 20 years or so, and is very reliable".
Totally agree !
November 12th, 2015, 02:10 AM
There is to less information about your issue to know what happened there, and might be wrong forum [http://forums.codeguru.com/forumdisplay.php?60-Graphics-Programming] ... please provide more info...
October 28th, 2015, 04:58 AM
I have found a workaround, I typed here, in case that everyone need it:
// TODO: Add your specialized code here and/or call the base class
October 23rd, 2015, 07:22 AM
I searched on VS2008 source code, and here is what I have founded:
STDMETHODIMP CFileDialog::XFileDialogEvents::OnTypeChange(IFileDialog *)
October 22nd, 2015, 03:49 AM
I do that, the same behavior ... :(
October 21st, 2015, 05:49 AM
My intention is to setup an scecific file extension on CFileDialog ... For that, I derived a class from CFileDialog, named CFileDialogExt. I have 5 different file types, like this:
October 7th, 2015, 07:16 AM
Sorry for later response ... I have wrote the same code, except one line:
September 25th, 2015, 08:43 AM
I have an application that compound more CBitmaps into single one, and all of them I spread it into CScrollView. How can I save entire view (helped by CImage), but not just visible part in window...
April 24th, 2015, 08:35 AM
Kindly thank you ... I'll pay attention on this, right now I have only one monitor, but who knows in future ?
April 24th, 2015, 06:36 AM
No ... are you referring GetSystemMetrics(SM_CXFULLSCREEN) ?
April 24th, 2015, 05:38 AM
I finally made it ... I put code here, in case that someone need it:
int nScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);...
April 24th, 2015, 03:27 AM
To render medical images (DICOM files), in fact MultiPlanarReconstruction. Theoretic, VTK has graphic objects that behave like what I am trying to do, but is not working correct when vtk window has...
April 23rd, 2015, 08:28 AM
Note that I need to keep the mouse track inside of client area, AND it should be moved ONLY on horizontal direction ... but you gave me an idea: to create a ClipCursor rectangle wide as client area,...
April 23rd, 2015, 08:24 AM
I already tried that, doesn't working ...
April 23rd, 2015, 07:45 AM
Though in real application I will not use this code inside of OnMouseMove (over CView I am spread up a VTK window), there is a very good point ! Thank you. Now, I have to think about some_condition...
April 23rd, 2015, 04:42 AM
In a SDI app, I constraint the mouse to move only an horizontal direction, if "Shift" key is pressed ... here is the code:
void CTestMouseView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) ...
March 27th, 2015, 03:52 AM
This problem occurred on VC6 ... I am still using VC6 ... I know, this is not good thing, but the project is pretty big and I am thinking that is lot of work to migrate the project on newer versions...
March 24th, 2015, 05:40 AM
Sorry for later response ... here is the entire code that gave me problems:
HKEY hKey(NULL), hKeyC(NULL);
ULONG cSize = 255;
CString sPath, sVersion,...
March 17th, 2015, 03:57 AM
Here is the complete situation: I have an MDI app. Also, I have a class, CMyDB, derived from CObject. Inside of this class, I have a CString member variable:
CMyDB : public CObject
March 13th, 2015, 07:29 AM
"What version of VC are you using?
What actions with this CString instance do you perform? "
I am using VC6 as Visual Studio ... and with that CString I just want to use it to keep error...
March 13th, 2015, 05:50 AM
After all, I really found the problem: instead of
// Get the Version information
lRet = RegQueryValueEx(hKeyC, NULL, NULL, NULL, (BYTE*)(LPCTSTR)sVersion, &cSize);
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!