|
Search the internet for a software called "Iconcool editor", it is my prefered choice. This software allows you to create multi sized icons, and is very easy to use. Just create your icon and import it into your resources.
|
|
|
|
|
i mean how to make an extension .ico file by myself, thank u.
Li Zhiyuan
8/06/2006
|
|
|
|
|
use the icon editor into Visual C++ ...
also, stop reposting the same thing again and again. if you have new questions related to the same topic, stay on the same thread.
|
|
|
|
|
you can also you the Paint program that is installed with windows, you can make icons and save it by the ext *.ico, but you have to make the dimesions of width and hight bet 35-50 pixels.
Ahmed Ismail
|
|
|
|
|
Hi guys,
I really really need your help. I have been tinkering with the CWnd timer functions for days now and I really could not understand its concept. I tried doing a "timer-like" simulation using a simple dialog box with just a number that increments. Sounds really lousy but I really just want to do that with the CWnd::SetTimer and CWnd::OnTimer. I just want to see how it works, what executes when I set a timer duration of 1 second. What goes to where.
I'd really really appreciate it if you could help me with some explanations, or better yet, a simple code with that dialog box timer i could not complete.
Miss programmer in distress,
waxie
|
|
|
|
|
waxie wrote: I just want to see how it works, what executes when I set a timer duration of 1 second. What goes to where.
Trace into the MFC source code for CWnd::SetTimer .
Maxwell Chen
|
|
|
|
|
Timer uses hardware interupts.
why do you need to know how it is implemented ? why not simply use it ??
|
|
|
|
|
hi,
what is there you just implement the Api called
::SetTimer(...)
::KillTimer(...)
// surf in google you get no of examples.
Think Clever
Uday kiran
|
|
|
|
|
|
Hi,
I have an activeX created with VC++ ,i use it in my C++Builder 6 project and use OLE object to open Excel application in my project.
I receive an error when uncheck "build with runtime packages"
in project->options->packages.Otherwise if i check it or don't use ActiveX the application is working properly.
Following is my code to opening excel application.
-----------------------------------------------
Variant Excel=CreateOleObject("Excel.Application");
Excel.OlePropertySet("Visible", true);
Variant Workbook=Excel.OlePropertyGet("Workbooks");
Workbook.OleProcedure("Add");
Variant sheet = Workbook.OlePropertyGet("Item", 1).OlePropertyGet("Worksheets") ;
sheet = sheet.OlePropertyGet("Item",1);
sheet.OlePropertySet("Name", WideString("TEST"));
----------------------------------------------
I test this ActiveX in Delphi at same conditions but it has no errors.Also i test other ActiveXs created in VC++ in my project and i receive similar errors.
|
|
|
|
|
I created a dialog class in which i must accept 2 parameters into comboBox by the following function :
BOOL CConfigModView::GetCfgParaMod(CString& sTimer, CString& sModView)
{
sModView=m_ModView;
sTimer=m_TimerDelay;
return TRUE;
}
the only error is
error C2511: 'BOOL CConfigModView::GetCfgParaMod(CString &,CString &)' : Impossible to find the member function overloaded in ' CConfigModView '
what's the problem, i need your help!!!!!!!!!!!!!!
salem ,c wiem.
|
|
|
|
|
Did you declare GetCfgParaMod in CConfigModView's class definition (in the header file)?
|
|
|
|
|
yes the function and the two variables are declared, i don't understand what' s happen
salem ,c wiem.
|
|
|
|
|
Did you see msdn for this error?
From the MSDN:
Possible causes
Wrong parameters passed to function.
Parameters passed in wrong order.
Incorrect spelling of parameter names.
|
|
|
|
|
Dont' hurry, make sure , its declaration is not suppressed by any preprocessor,you spelled all parameters and function name in same way as definition.
Can you show , how its declared ?
|
|
|
|
|
thank you guys ,i 'm happy to be with people like you, everything is allright now, iy was a mistake of spelling (inattention )
salem ,c wiem.
|
|
|
|
|
i don't have extension .ico file, how to get it. i know how to import it.
thank you
Li Zhiyuan
8/06/2006
|
|
|
|
|
I'm guessing this was supposed to be a reply to your earlier thread.
In the Add Resource dialog, you just click the "import..." button, then in the "files of type" dropdown select "Icon Files"
|
|
|
|
|
Maybe this might help you....
<a href="http://www.codeproject.com/shell/ShellPilot.asp?df=100&forumid=283631&exp=0&select=1458422">http:
<a href="http://www.samspublishing.com/articles/article.asp?p=30009&rl=1">http:
Not really sure what you are talking about??
Only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
I have an application which has two Windows. Now, the Second Window is created on a separate thread. The class for the second Window has a function called CreateEdit() which creates an Edit control. This edit control has to be created on the fly and hence cannot be created in OnCreate() . Now when I create an Edit control in OnCreate() the Edit control is created fine and on the same thread as the Second Window, but when I create the Edit control dynamically through the functions, the Edit control is created on the thread of the First Window. Please note that the First Window makes a call to CreateEdit() to create an Edit control dynamically in the second Window. I use function pointers to make a call to CreateEdit() from the first Window. Is there anyway, I can make sure that the Edit on the secodn window is created on the same thread as the Second Window?
---
Hakuna-Matada
It means no worries for the rest of your days...
It's our problem free, Philosophy
<marquee behavior="alternate" scrollamount="5" scrolldelay="50">
|
|
|
|
|
Windows are created in whichever thread calls CreateWindow . It's strongly recommended that this is the same thread that the parent window is on, but I don't think this is actually required.
|
|
|
|
|
create SUSPENDED process, inject dll and hook api...
hook GetCommandLineA ok, but never call...
|
|
|
|
|
When you create a suspended process, that process has entered it's main(), ie the variables are uninitialized so there is not yet a commandline to get.
|
|
|
|
|
Hi
i want to validate the float value which the user is going to enter in the edit box.
no integers are allowed and strings are allowed.
only float values are allowed.
is ther any API to valiate the float value
or is ther any solution for this
|
|
|
|
|
associate a variable to the editBox which is of type float or double ...
|
|
|
|