Hi Jenny,
To answer the first part:
Just check the Dialog Properties and find out whether the Property "Visible" is Checked or no.
And for the Second Part:
1. Right click on the desktop
2. Select Properties->Effects
and check whether "Hide keyboard navigation indicators until I...
Hi,
Is the image a file ?. I mean a BMP or something of that sort ?
In any case you can use the following APIs to read/write an Image.
CreateBitmap
CreateBitmapIndirect
CreateCompatibleBitmap
CreateDIBitmap
CreateDIBSection
ExtFloodFill
GetDIBits
LoadBitmap
SetDIBits
StretchBlt
StretchDIBits...
Hi Venkat,
I can help you with the Searching :
BOOL FileOperation(TCHAR *strSrc, TCHAR* strDest)
{
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
hFind = FindFirstFile(strSrc, &FindFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
printf ("Invalid File Handle. Get Last Error reports...
Hi,
This error can occur if the file, subdirectory, or disk on which it resides is read-only. In this case, make the file writable or move the file to a writable disk
This error may be caused by not having enough file handles. Close some open applications and recompile
Trying to open a file...
Hi,
You can set up windows hook using the API SetWindowsHookEx with the WH_KEYBOARD option.By doing this u can trap the F10 key first in your application and then let it go for default processing.
Regards
Sun
Help will be appreciated very very much.
What I am doing is retrieving objects and collecting the properties of those objects I am forming an XML String.
The XML Structure looks somewhat like this
<Root>
<Child>
<GrandChild>
<GrandChild>
<GrandChild>
.
.
<Child>...
Hi Scott,
Both of the Above are true.
Your Label ID = IDC_MYLABEL :
You can use
SetDlgItemText(IDC_LABEL, _T("My New Text Goes here"));
as well as
GetDlgItem(IDC_MYLABEL)->SetWindowText(_T("My New Text Goes here"));
Regards
Sun
Hi,
What you can do is you can do a CreateCompatibleDC().
if you want to do it outside OnDraw() what you can do is you can go a
CDC* pDC = GetDC();
CDC dcMemory;
dcMemory.CreateCompatibleDC(pDC);
dcMemory.BitBlt(0,0,400,500,pointer to the device context from where you want to draw on the...
Hi Vincent,
Do you get a compile time error at this statement,
CObArray * tmp = new CObArray;
Well I get this error at both the statements.
And can u please tell me why are u doing a new to allocate memory for a CObArray Object.
Awaiting your reply.
Thanx and Regards
Sun
Hi
I am developing a Activex Exe.
That exe is going to be an MDI application, with child windows in it, the problem that I am facing is that I want the client to create only one instance of that Activex Exe, so how do I do that, I guess there is a concept of Singleton Objects, in which only...
The best place to look for all this is in the MSDN library.<br>All the information you need about tree views and controls is present there.<br><br>Regards,<br>Sun
Hi Sumedha,<br>See what I did was, I put a button on a Dialog Box, then in the Resource View goto the properties of the button, there on the <b>STYLES</b> tab, select <font color=red>Icon</font>.<br>Then I added an Icon resource, if you have a <font color=red>.ICO</font>, copy it in the...
Hi All,<br>I want to find out if a client is behind a proxy how to detect it.To be more specific, I have an application which comunicates with a Java Server, it works for Intranets, I have used CSocket class. Now If I want it to work on <b>Internet</b> then what should I do, ESPECIALLY when it...
hey thats quite simple see what you can do is<br>
Declare 2 global variables or u can make them members of the Doc if u do not like globals.<br>
char szBuff[20];<br>
POINT pt;<br>
<br>
then in MouseMove what u can do is this<br>
void CMouseView::OnMouseMove(UINT nFlags, CPoint point) <br>
{ <br>...
or may be you can try using AddString(String);<br>
it will add a string at the zero based index position<br>
for the first time, and after that a call to AddString(String) just appends it to the list.<br>
And you can use this piece of code to keep the last item currently selected.<br>
<br>
int...
Try doing this<br>
add a icon resource, say IDC_ICON1 in the resources.<br>
then in the code, do<br>
HICON hIcon = ::LoadIcon(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDC_ICON1));<br>
then you have a button<br>
try doing<br>
pButton->SetIcon(hIcon);<br>
This should do it.<br>
If it does not...
I think your problem may get solved if you use<br>
Visual J++.Try it out.<br>
All the best.<br>
I have a similar problem<br>
I want to compile java code to a format which is native to <br>
Linux<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.