|
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
|
|
|
|
|
TA-RS wrote:
MSDN is not on my cd I search it in my local area but couldn't find.
Is it big for download?
It comes on 3 CDs.
TA-RS wrote:
Once I setup WINXP that said had MSDN (WIN XP 2001 MSDN Ver-
I Think was it Title).
Which is the MSDN version of Windows XP, but it is not the MSDN Library itself.
You should know whether or not you purchased a MSDN subscription . If you did, install it. If not, you'll have to use the online version.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Hi,everyone. i'm still newbie here and still beginner using mfc. i have a problem. i create a list control without dialog editor but using CListCtrl (on the fly). The list style is report. The problem is i want to add item with icon but position
of the icon on the right (You know the standar de facto is in the left) and when i resize the view that hold CTabCtrl where the second tab (there is 2 tab, the first using CTreeCtrl) that contain the list control, the text is wrap,ex : (The home project are...$) become (The home project are the project...$) where $ sign the icon that i used. Can anyone help me ? I'm try using 2 column, first column to hold the text and the other to hold icon (temporary i using text for the second column) but this method is fail and the result become : (The home project are the project...$) become (The home project..) --> The icon is missing. I hope you understand what i mean, it's hard to explain with word ^_^ Thank you.
|
|
|
|
|
Hy all! I've developped an ActiveX control to send reports via e-mail and it finaly works, but there are still 3 issues:
1. the control is marked safe for scripting and this statement is recognized on a XP machine, but the same control is considered as Unsafe for scripting on a Win2000 computer and is blocked. Any ideea about what i should do to overcome this problem?
2. althow the control is safe for scripting, and officialy signed when it runs it triggers an alert like "this program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose <<no>>" and just after that another alert "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?..." . Since our employees have to send even hundreds of reports at once and to have access to change the recepients addresses I call the objects method inside a java script for every confirmed address and I get these alerts for each call..... Is there a way around these warnings?
3. after running ok for a while or when I close the IE window I get sometimes an error that says :
"Debug assertion failed!
Program: C:\Program Files\Internet Explorer\iexplore.exe
File: cmdtarg.cpp
Line: 52
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts."
What is exactly an assertion an how can I debug it in a simple way since the msdn articles are very vague on this issue?
|
|
|
|
|
Does anyone know how to open an Excel file and read the values using VC++? I saw some stuff in MSDN using MFC, but I was hoping for something easier. Is there a free component out there somewhere?
Thanks,
Waffleman
================================
Freiheit ist von Gott, Freiheiten vom Teufel.
|
|
|
|