Search:
Type: Posts; User: javed001
Search:
Search took 0.04 seconds.
-
April 29th, 2010, 01:51 AM
No, It doesn't have to be before CDHtmlDialog::OnInitDialog();
It works even if you call after this line. :wave:
-
December 14th, 2009, 06:45 AM
Usually Unspecsified exception are caused by null pointer on invalid memory. _com_error will not catch this exception.
-
February 26th, 2009, 05:20 AM
-
February 26th, 2009, 05:16 AM
Adding this code helped but still we can see a white separator which is giving it a 3d look
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWndreCreateWindow(cs) )
...
-
February 18th, 2009, 07:20 AM
Got the solution here is the link.
http://www.codeproject.com/KB/dialog/dlgboxtricks.aspx
Look into the "How to steal focus on 2K/XP" section
-
February 18th, 2009, 04:03 AM
Hi,
I have an SDI application. If I minimize the application it can be restored by a system tray menu. The menu appears when we left click on to an Icon(that is also added by me)in the system...
-
February 11th, 2009, 05:57 AM
This is an MFC forum. You should post your Query to a WTL forum. code projetc has one WTL forum. See the link.
http://www.codeproject.com/script/Forums/View.aspx?fid=4486
-
February 11th, 2009, 04:59 AM
I added an image of my application in case if you want to see that.
-
February 11th, 2009, 04:52 AM
I have a SDI application whose view is derived from CFormView. But the form looks sunken (Depressed) in the main window. I want to remove this state. I tried to remove the WS_EX_CLIENTEDGE,...
-
September 11th, 2008, 11:15 PM
Try this
bool matrix:perator ==(const matrix& Square) const
{
if((*this).row == Square.row && (*this).column == Square.column)
{
for(int i=0; i< Square.row; i++)
...
-
September 10th, 2008, 11:36 PM
Dont you know how to overload == and != operator or you have problem in overloading your matrics?
-
September 9th, 2008, 11:58 PM
Yes,
printto is not a listed verb in MSDN. Also shellexecute fails and return
ERROR_GEN_FAILURE when used printto.
One Q: why do you think image files are not document files. If this is the...
-
September 9th, 2008, 07:08 AM
Printto is not a SDK or MFC CWnd function.
-
September 9th, 2008, 04:17 AM
Thanks Victor,
I had read the MSDN, But I was thinking .PNG files are too document files.
I still dont know how a document file is defined.
Any way anyother solution for printing an image file?...
-
September 9th, 2008, 02:47 AM
Based on Skizmo info, CDialog has attributes (Flags) to create horizontal and vertical scrollbars.
Just check the property window.
-
September 9th, 2008, 02:43 AM
I am also facing similar problem. I want to print some files using ShellExecute().
The good news is it is working for text files but just doing nothing in case of image files like PNG, BMP etc....
-
I was also having the same error. And this was because in VS 8.0 the GetSelectedColumn() is defined in the afxcmn.h under #if (_WIN32_WINNT >= 0x0501)
And in my stdafx.h file it was defined as...
-
June 16th, 2008, 12:14 AM
Oh, Thanks victor. I tried this and it worked.
hInst = ShellExecute(NULL, _T("open"), _T("C:\\Program Files\\Microsoft
Office\\OFFICE11\\OUTLOOK.EXE"), _T("/f C:\\Test.msg") , NULL,...
-
June 13th, 2008, 07:38 AM
Thanks Victor, I saw that but it does not help me.
i need something for opening msg file.
-
June 13th, 2008, 06:26 AM
Hi,
I am trying to open a outlook msg file programmaticatlly as below in
my C++ code.
ShellExecute(NULL, _T("open"), _T("C:\\Program Files\\Microsoft
Office\\OFFICE11\\OUTLOOK.EXE"),...
-
April 29th, 2008, 02:11 AM
No,
The problem is, it is not returning anything in the STAT_CHUNK structure passed to GetChunk() function.
The return value is aways FILTER_E_END_OF_CHUNKS which suggests there is no chunk which...
-
April 25th, 2008, 06:37 AM
As per the original post, I tried to extract main content of the function for a PDF file and though it loads the PDF Filter installed at "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRdIF.dll" but it...
-
April 16th, 2008, 01:10 AM
Hi Dear,
I am trying to index metadata for doc file for indexing purpose using IFilter implementation.
I have the OffFilter.dll which implements IFilter for office documents like .doc etc.
I am...
-
April 8th, 2008, 12:39 AM
I am neither handling WM_LBUTTONDOWN nor using SetCapture().
One interesting thing is the MFC sample provided by the ActiveX control vendor does not have this painting problem.
-
April 4th, 2008, 07:08 AM
I am having an SDI application (Strictly speaking no document object as the original project was created with older version of vc). I am creating a child window wich is pasted over the main frame...
|
Click Here to Expand Forum to Full Width
|