|
I have got the project which on executing opens the window without title bar
it is MFC project window stays there where it gets opened
how can i drag window from one place to another on my computer screen
initially position is set like this
this->m_MainDialog.SetWindowPos(&CWnd::wndTop,100,100,0,0,SWP_NOSIZE);
this->m_MainDialog.ShowWindow(SW_SHOW);
please help
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Override the WM_LBUTTONDOWN message handler , like this :
void CYourClass::OnLButtonDown(UINT nFlags , CPoint point)
{
SendMessage(WM_NCLBUTTONDOWN,HTCAPTION);
}
"Success is the ability of going from one failure to another with no loss of enthusiasm" - W.Churchill
|
|
|
|
|
when i right click on my dialog box window and right click on my class wizard it gives error
classWizard database E:\oda\source\ODA.dw does not exist
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
thanks
solved as u say
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Does someone know hot to add tooltips to the CStatusBar... the bar at the bottom of CMainFrame that indicates NUM etc...
Thanks in advance...
|
|
|
|
|
|
In CListCtrl the GetItemText property is not working ....
what may be the alternative ?
ditty grail
|
|
|
|
|
ditty grail wrote:
In CListCtrl the GetItemText property is not working
Why not? What is it (not) doing?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
It should work. Otherwise use GetItemData() which returns LVITEM structure, it has a member variable which displays the item text.
Work hard and bit of luck is KEY to SUCCESS
|
|
|
|
|
Hi
I want to develope an application which can give me weather forecast.
I want to know is there any such application or any material through which i can get the data of weather directly in my C++ application.
I want just minimum and maximum temperature of perticular city by entering either name of city or zip code of city.
Any site which can give me some weather data or something like that....
If any body can help me it will be gr8..
Thankx in advance
Regards,
Amarelia Maehsh
Gujarat
India
|
|
|
|
|
contact NASA people
regards,
Rookie
|
|
|
|
|
Rookieee wrote:
contact NASA people
What kind of reply is that? Still as useless, but NOAA would have been better.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Some years ago I developed a web application that displayed weather forecasts from different countries/cities. We got the information from XML files served periodically by Reuters. You can do it as well from VC++ using MSXML.
I don't know if Reuters still serve these files but there are other that does.
I hope it helps,
Marc Soleda
|
|
|
|
|
Write "weather xml service" at google to found similar services
|
|
|
|
|
See here for an example.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Thanks David
Though that application given at this space doesn't work it seems good
Regards,
Mahesh
Amarelia Maehsh
Gujarat
India
|
|
|
|
|
Hai..
I Have hooked the MS Word applciation from my VC++ Application. Now I want to find the Current Position of the MS Word , either the automation or another way.
Thanks,
E.Veera Raghavendra.
|
|
|
|
|
Veera Raghavendra wrote:
Now I want to find the Current Position of the MS Word...
You want the current window position?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
If you have the CWnd object you can use the method:
void GetWindowRect( LPRECT lpRect ) const;
Marc.
|
|
|
|
|
Does any one know all GINA export functions in xp??
almost 29 functions...
|
|
|
|
|
Anybody knows how to change font in edit control.
i tried to create a font in following way,
CFont l_font;
l_font.CreateFont(20, 10, 0, 0, FW_NORMAL,FALSE, FALSE, FALSE, 0, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_ROMAN, "Times New Roman"); edit->SetFont(&l_font);
But no matter how i set the height "20" value, the characters in the edit control height do not change.
What i want is to make the characters big enough to fit the big edit control i created.
thanks in advance~
|
|
|
|
|
Make sure your font is allocated during the life of your control ie declare it as a class member and not as a local variable
|
|
|
|
|
When I press F1 in my V.studio it say I should install it. without help
I got many minor problem that just are time consumer.
MSDN is not on my cd I search it in my local area but couldn't find.
Is it big for download?
Once I setup WINXP that said had MSDN (WIN XP 2001 MSDN Ver-
I Think was it Title). Even I don't know what is Msdn exactly.
when I setup V.studio in last step I have to cancel MSDN setup offer.
TA RedStar
|
|
|
|
|
I prefer MSDN online (at msdn.microsoft.com) to the help that comes with Visual Studio.
Bob Ciora
|
|
|
|
|
I havn't an always internet connection and here online cost is high and with heavy filtering.
Can you help me get an callback membership??
TA RedStar
|
|
|
|