|
Do you use SetIcon
whitesky
|
|
|
|
|
Till now i wont use SetIcon but the taskbar shows right icon,then now why it does not shows the new one.where the application takes the old icon.because i checked in all files there is no older icon.then how its possible?Pls clear my doubts.
|
|
|
|
|
Please see Michael Dunn answer and my guess 16x16 icon
whitesky
|
|
|
|
|
change both be 32x32 and 16x16 icon.
in task bar 16x16 icon is displayed.
see your application exe in windows explorer both in Large icon setting and Small icon setting
Regards
Anil
|
|
|
|
|
|
have u changed both icons
i.e 16x16 and 32x32
it seems that u have changed only 32x32 icon
pls check it.
but u can see if u r viewing the file list as icons (not details view)
SaRath
"D on't blindly follow rules you read somewhere without verifying that it makes sense for your situation!"
|
|
|
|
|
Yes i changed 16x16 icon.now its working.Thanks a lot.
|
|
|
|
|
1.Copy the Icon,which u want to assign to res folder of u r application.Follow these steps
2.if u r using VC6 ,In the project click on File->Open,then change the Open As option to Text and open the .rc file of u r application.
if u r using Vc7 , right click on .rc file and open as Text file
3.Replace the
IDR_MAINFRAME ICON DISCARDABLE "res\\OldIcon.ico"
with
IDR_MAINFRAME ICON DISCARDABLE "res\\NewIcon.ico"
I have tested this.
Here it is working fine.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Have you changed the function's parameter ,for example ,if you want show the new icon which ID is IDR_NEW on the dialog, you can modify the LoadIcon function .
CTestIconDlg::CTestIconDlg(CWnd* pParent /*=NULL*/)
: CDialog(CTestIconDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CTestIconDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
// modify this sentense m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
m_hIcon = AfxGetApp()->LoadIcon(IDR_NEW);
}
echozeng ----> nose nose i love you
|
|
|
|
|
Hi all
I have a VS2005 MSC project, consisting of many classes, but when I compile I get many warnings(in different .cpp files) of type :
warning C4996: wcscpy was declared depreciated c:\....cpp
How to disable this warning, for whole project ?
thank you.
-- modified at 7:52 Wednesday 31st May, 2006
|
|
|
|
|
|
In your stdafx.h file, add the following line:
#pragma warning( disable : 4996 )
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
|
By using its replacement...?
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
it is so easy question,i am very glad to answer it
add "#pragma warning(disabled:4996)" in the head of header file and then the warning informaion will disappear.
echozeng ----->rose rose i love you
|
|
|
|
|
i'm not going to blame you because (and only because) you're new to this forum. BTW, you should avoid posting an answer if it has already been answered (especially if you don't provide much useful infos)... the #pragma solution was even quoted more than twice already, so read the other answers before replying
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Can someone please tell me if it is possible to get the ip of a spoofed message. We are using a lan, but someone keeps on spoofing.
KOM UIT DAAAAA!!!
|
|
|
|
|
Grimes wrote: Can someone please tell me if it is possible to get the ip of a spoofed message.
What message? A broadcast message over your network, or an e-mail message?
Grimes wrote: We are using a lan, but someone keeps on spoofing.
Why would you think that a LAN would prohibit spoofing?
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
they use the 'net send' of windows. Does these messages also contain the ip of the computer they were sent from?
|
|
|
|
|
Grimes wrote: Does these messages also contain the ip of the computer they were sent from?
Not that I am aware of. They do contain the machine's name, however. Can you not just cross-reference that back to the IP address?
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
these guys use a program to change that name displayed in the message
KOM UIT DAAAAA!!!
|
|
|
|
|
Oh, I just assumed that NET SEND was being used. The only recourse that I know of is to disable the Messenger service on your machine.
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
Hi friends,
I want to know how the C++ compiler implements Inheritance,Polymorphysm concepts. Can any one of u suggest some good links .
Thanks in advance.
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
|
See this[^] thread
Cheers
Steen.
"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
|
|
|
|