Search:
Type: Posts; User: VGirish
Search:
Search took 0.50 seconds.
-
August 4th, 2006, 04:28 AM
Hi John,
Use
PropSheet.m_psh.dwFlags &= ~PSH_HASHELP;
Proppage.m_psp.dwFlags &= ~PSH_HASHELP;
-
August 4th, 2006, 02:55 AM
Hi,
Take a look at the PtInRegion and PtInRect functions in the MSDN.
Before that, take a look at the DrawCli sample in the MSDN. That sample
would give you a good start.
-
August 4th, 2006, 02:11 AM
Hi,
Handle WM_CTLCOLOR and in your OnCtlColor(CDC* pDC, UINT nCtlColor)
function, use
//set text color
pDC->SetTextColor(RGB(255,255,255));
//set the text's background color
...
-
August 4th, 2006, 01:38 AM
Hi,
Guessed that u would ask for a sample. :) Anyway, take a look at
this link
WMI works as follows:
1. It uses a subset of SQL called WQL for querying the system.
For example, SELECT...
-
August 4th, 2006, 01:27 AM
Hi,
Alternatively, you can use CArchive::WriteString. Take a look at http://msdn2.microsoft.com/en-us/library/0ck300ac.aspx
for a sample.
-
August 4th, 2006, 01:26 AM
Hi,
In your case, why do u need serialization ? You can just remove that code
and use CFile or CStdioFile to write and read your data directly. :)
-
August 4th, 2006, 01:23 AM
Hi,
After u change your document's content, call "UpdateAllViews". :)
-
August 4th, 2006, 01:11 AM
Hi,
How long is your programming career going to continue until u move over
to management ? As long as you are going to code for less than 10 years
u should have no problem with VC++. ;)
...
-
August 4th, 2006, 01:01 AM
Hi,
Take a look at WMI. It contains features to enumerate most of the resources
used by the system. Just changing the parameters would enable you to
even get the bios serial number of any...
-
August 4th, 2006, 12:59 AM
Hi,
What do u mean by "It will not work in the other OS" ? Please check if you
have the same project settings for the "Release" build and the "Debug" build.
You might have forgotten to set the...
-
August 4th, 2006, 12:56 AM
Hi,
If your aim is to play an .AVI file, there are 3 ways of doing it.
1) Use CAnimateCtrl :-
NOTE:- Can play ONLY uncompressed .avi files.For Example,it will not work with
Globe.avi.
2)...
-
August 4th, 2006, 12:49 AM
Hi,
You definitely need to take a look at DirectShow. A tutorial is available at
http://www.geocities.com/contactgirish/DirectShow.html
By including DirectX, your overhead is going to...
-
August 3rd, 2006, 06:23 AM
Hi andreshs1,
The compression functionality available in Windows XP is not what you think
it is. It does not compress as winzip does. It works like the "Compress
drive to save disk space" option...
-
August 3rd, 2006, 06:02 AM
Hi,
Take a look at http://www.codeproject.com/atl/SimpleATLCom.asp
That should give u a headstart. :)
-
August 3rd, 2006, 05:11 AM
Hi,
For a C++ guy moving to C#, i'd suggest GDI+ first. If u have an
understanding of GDI+ , its quite easy to draw custom controls (owner draw).
Its better not to mix managed code (C#)...
-
August 3rd, 2006, 05:04 AM
Hi,
What graham meant was using WMI. Its not a third party tool. Its from MS
and u can use it at will. :)
-
August 3rd, 2006, 04:41 AM
Hi,
Since you have finished reading the bytes and have written them to the destfile, it means that the download is done. You dont need to check any
condition after calling destFile.Close(). You...
-
August 3rd, 2006, 04:28 AM
Hi,
Create a DLL using ATL COM that exposes your functionality. Take a look
at Variants, BSTR and SafeArray which would help you use your code
from other languages.
-
August 3rd, 2006, 02:45 AM
Hi,
You can use either GDI+ as mentioned by jayender.vs or you can take a
look at a free open source library called CxImage if you need to do raw
processing of the image data.
-
August 3rd, 2006, 02:42 AM
Hi,
If u r looking for free code, take a look at the Drawcli sample available at
http://msdn2.microsoft.com/en-us/library/9t94971d.aspx
If u r ready for a commercial library, search for a...
-
August 2nd, 2006, 02:03 PM
Hi
Search for "Double buffering" on the net. There is a class called CMemDC
by Keith Rule which will help u avoid the flickering.
-
August 2nd, 2006, 12:11 PM
Hi,
Though the code is in Borland C++, you should have no trouble porting it.
http://www.codeproject.com/com/MSWACPP.asp
-
August 2nd, 2006, 12:03 PM
Hi,
Quote from one of my previous posts :)
1) Use ::SndPlaySound for small wav files
2) Use the PlaySound function for larger wav files
3) Try the MCI Control MCISendMessage function...
-
August 2nd, 2006, 10:56 AM
Hi,
Can u zip your code and upload it here so that we can take a look at it ?
-
August 2nd, 2006, 10:47 AM
Hi,
As far as i can understand, you have a main view which is covered fully
by the Formview when you want to display an image. Right ?
You are displaying bitmaps in your main view, but when...
|
Click Here to Expand Forum to Full Width
|