Type: Posts; User: mesajflaviu
Search took 0.01 seconds.
July 19th, 2016, 05:13 AM
Inspired of your idea, I had done my task. Kindly thank you, all of you !
July 15th, 2016, 10:02 AM
This app should be called through command line, from another app, or by the user, even through "Open with ..." context menu command.
July 15th, 2016, 10:00 AM
After actual behavior of the application, to append every text loaded via OnOpenDocument(), using MDI framework will not solve my problem ... loading text into the same SDI app, or MDI app, but in...
July 15th, 2016, 07:21 AM
Yes, the text files are opened ok from command line, but in a difference instance, and I want to open the text files, into the same instance ...
July 15th, 2016, 06:52 AM
Ok, far now, I succeeded to retrieve the file name open by command line:
CWnd* pWnd = CWnd::FindWindow(g_sMutexName, NULL);...
July 15th, 2016, 05:51 AM
I have tried something like this:
CWnd* pWnd = CWnd::FindWindow(g_sMutexName, NULL);
if(NULL != pWnd && NULL != pWnd->GetSafeHwnd())
// A prevous running...
July 15th, 2016, 04:21 AM
Hi all of you.
I come here with a problem: can I use command line to open the same application, but different file ? How ?
Here is the situation: I have a SDI app, with CView based on CEditView,...
June 17th, 2016, 07:11 AM
after you hide/show controlbar.
March 4th, 2016, 03:08 AM
I saw here something interesting:
December 17th, 2015, 05:33 AM
OK, thank you ... at least I know where to go.
December 15th, 2015, 02: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, 03: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, 05: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, 01:28 AM
"MFC has been around for 20 years or so, and is very reliable".
Totally agree !
November 12th, 2015, 01: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, 03: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, 06:22 AM
I searched on VS2008 source code, and here is what I have founded:
STDMETHODIMP CFileDialog::XFileDialogEvents::OnTypeChange(IFileDialog *)
October 22nd, 2015, 02:49 AM
I do that, the same behavior ... :(
October 21st, 2015, 04: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, 06:16 AM
Sorry for later response ... I have wrote the same code, except one line:
September 25th, 2015, 07: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, 07: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, 05:36 AM
No ... are you referring GetSystemMetrics(SM_CXFULLSCREEN) ?
April 24th, 2015, 04:38 AM
I finally made it ... I put code here, in case that someone need it:
int nScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);...
April 24th, 2015, 02: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...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!