|
Look in the project file (.dsp for VS6 or .vcproj for VS2005) and examine the various options.
FYI, what you're asking is NOT the "platform" - it's the type of project
Judy
|
|
|
|
|
Hi,
I want to change my min,max,close look like xp style.
I used DFCS_CAPTIONCLOSE,DFC_CAPTION & DrawFramecontrol to
draw min,max,close buttons. But they look like old buttons.
how can i change the colors of that buttons to look like xp.
|
|
|
|
|
You have to use manifest file.
Please have a look at here[^] for more information.
Regards,
Paresh.
-- modified at 2:10 Tuesday 27th November, 2007
|
|
|
|
|
How can I combine two projects and make them single? these two files are dependent on each other.
|
|
|
|
|
What do you mean exactly ? Can you give more information ?
|
|
|
|
|
Actually I have a sample projects called mitumori and this projects also have two file (that is see on the file view tab named cpdf and jpeglib2 file. This project convert the *.npr file into the *.pdf. These files are related to each other i.e. there is a dependency between them. The problem how do they combine the project into one. Actually mitumori project use the files of cpdf and jpeglib2. I could not understand how do they use the other projects file. The main problem I need to implement the cpdf and jpeglib2 in my project. how can I do ?
|
|
|
|
|
Do you refer to linking together two libraries (LIB -files) in a third project?
Or are you talking about DLL -files?
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. Douglas Adams, "Dirk Gently's Holistic Detective Agency"
|
|
|
|
|
keyto wrote: How can I combine two projects and make them single? these two files are dependent on each other.
are you intended to say two class is depend on each other? if yes, than use the technique known as Forward Decalration like this:-
class a;
class b
{
a aObj;
public:
a(){};
};
class a
{
b bObj;
public:
b(){}
};
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I was trying to make a self extractor application. I have seen a code given on code project(http://www.codeproject.com/file/self_extractor.asp")but was unable to get how the programmer has corelated 2 exes together.....and how he had made shared files. Can anybody help me in this and is this possible to make a self extractor with one exe
thanks in advance
|
|
|
|
|
Have you spoken with the autor of the article?
Have you tried it with winzip?
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
ya i have tried to talk with him but didn't got any reply.........
i want to make it my own ......
how to do it.........
|
|
|
|
|
Dont know, i ha ve used the NSIS (Nullsoft Installator Systems), but a problem (that I think is my fault somewhere in my programm) is easy and fast.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
I know this should be known by all C++ programmer , but i never came to this situation before ...
problem is i want to define const static CString variable in my class ...
so can anyone help me in how to define and initialize such a member ...
ThanX,
Perry
|
|
|
|
|
paresh_joe wrote: problem is i want to define const static CString variable in my class ...
so can anyone help me in how to define and initialize such a member ...
class A
{
public:
const static CString csAString;
};
const CString A::csAString = _T( "Nibu" );
Nibu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http:\\nibuthomas.wordpress.com
|
|
|
|
|
i have already created an edit box dynamically using the create function. now my requirement is when i type something on the edit box the size of the edit box should increase as the sentence gets bigger? what needs to be done for this?
|
|
|
|
|
You have two choices:
- Subclass the edit control.
- Handle the EN_UPDATE notification in the edit control's parent.
Steve
|
|
|
|
|
will u be able to explain a little more.?
|
|
|
|
|
Chandrasekharanp wrote: will u be able to explain a little more.?
search sublass here at CP, you will get answer to yo
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
ThatsAlok wrote: search sublass here at CP, you will get answer to yo
And for more explain google is a option.;)
|
|
|
|
|
Hamid. wrote: And for more explain google is a option.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Adding to the answer already given... You can change the size with SetWindowPos(...)
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
One way to do this is to change the size of the editbox dynamically using SetWindowPos() API.
Use this API in WM_CHAR or EN_CHANGE notification. like below.
INT Widht =0;
INT Height = 10
case WM_CHAR: ( or EN_CHAGE)
SetWindowPos(hWndEdit,0,X,Y,Height,Width++);
break;
above code will work. But you need to take care when to grow the editbox and when to shrink it. ( i.e if someone press backspace or delete the editbox should shrink. )
|
|
|
|
|
Hi Developers,
I have to write a map class in C++.I know there is one stl map class in C++ but i have to write my own which should be as good as stl map class.
So how should i get started ? Is there any example program which could be helpful to me to get on with it ?
ta
James
|
|
|
|
|
Why not just look at the stl map source code?
|
|
|
|
|
Maybe because it is almost undecypherable ?
|
|
|
|