|
Hello Mark,
I see your point. I guess I will get the Visual Studio 2005 Professional Edition.
I noticed it has other editions which seems far tooooooo profesional. well, they sound like it at least. What I mean by that is the ones called:
Visual Studio 2005 Team Suite
Visual Studio 2005 Team Foundation Server
Visual Studio 2005 Team Edition for Database Professional
The lis goes on but I decided to stop.
Thanx again for your help, mate.
Khoramdin
|
|
|
|
|
Hi Everybody,
While working on VC++ IDE we always feel pain on configuring VC++ directory settings for a new project which uses various 3rd components or includes various levels of folders as included folders in the project .
I have developed a VC++ Directory Utility which can help a VC++ developer in following ways ::
(1) It works for VC++ 6.0 , 7.1(2003) & 8.0 (2005)
(2) SAVE::You can save the existing settings in a suitable list and use it further. You can save Directory setting for other computer user users and use it for your own purpose.
(3)APPLY :: This will show you all saved list . You can apply the saved Dir Settings for your running IDE.
(4) MERGE :: You can merge two existing settings and work on two projects together.
(5) CONVERT :: You can convert Directory setting for one verion of VC++ to the other .
(6) EDIT :: Edit feature is more enhanced as at one shot you can recursively select all the directories of selected folder . You can even Replace certain text by some other text .
I am keen to know if there already exist such type of Software . IF anybody interested to use this I can send it to him . Please send me a mail for that.
REgards
Avanish
Avanish Kumar
GE IIC, HUDA LANE , S P Road ,
Secunderabad -20003(INDIA)
Avanish.Kumar@ge.com
Kumar.Avanish@yahoo.com
|
|
|
|
|
Why not write up an article for it and post it here on CP. Sharing, not free advertising, is what CP is all about.
You may be right I may be crazy -- Billy Joel --
Within you lies the power for good, use it!!!
|
|
|
|
|
If you like you can submit your article on the codeproject
|
|
|
|
|
Hi !!!
I have created one dialog box ( picture control).I want to change background color of my dialog box.
I did some steps but there is no change..I dont know may be some where i did mistake..
My steps are :-
In the Header file of my Dialog(ga_dwgpv.h),added a CBrush variable ( member variable ). Assuming that i have declared it as such.
CBrush m_brush;
In the OnInitDialog function of my dialog, added this code to create the brush.
m_brush.CreateSolidBrush(RGB(150,50,100));
Handle the WM_CTLCOLOR message in my dialog box and in the OnCtlColor function, added this code.
m_brush.CreateSolidBrush(RGB(150,50,100));
Is this correct ??
There is no error in programme.
Any other method to change backgroung color ??
Thanking you
Shah
|
|
|
|
|
show the whole function. i suspect you to call the base class' function, or not to return the context
|
|
|
|
|
Yeh..This is working now..But problem is This is showing color for whole dialog box but i want to change backgroung color of my Picture control box only..
what should i do ?
Shah
|
|
|
|
|
Shah Satish wrote: I want to change background color of my dialog box.
You seem to almost have it.
just return m_brush from the function.
Maybe this[^] can help you?
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
Thanks for reply..I want to change color of small box which is reside in my dialog box ( Picture control )..ITs showing me whole dialog box back groung color (not Small box ( picture control).
Any suggestion..How to change Backgroung color of Picture control box ?
Shah
|
|
|
|
|
H
Shah Satish wrote: How to change Backgroung color of Picture control box ?
So, you want to have a picture-control on the dialog, which displays the background color of the dialog?
The same color the dialog is alredy showing? Odd!
What is the picture control to begin with?
A CBitmapButton?
Well your PictureControl probably wants a bitmap, wo create one with the background color brush and set it as bitmap in the control.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
Yeh..In my dialog box,There are two small box..One is text control and second one is Picture control..Picture control box is showing preview of my Autocad file(dwg file)..Here Backgroing color is White and Color of the drawing is black..
I changed by your method but here its changinf color of whole dialog box but not Picture control box.
Shah
|
|
|
|
|
Shah Satish wrote: Picture control box is showing preview of my Autocad file(dwg file).
Who, I mean what code, is rendering the dwg-file?
Most probably this code has a setting to set the background-color of its rendering?
You can also subclass the control and in the derived class handle WM_ERASEBKGND .
There you use the background-colored brush to erase the background.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
You can use of
pDC->SetTextColor( m_clrText );
pDC->SetBkColor( m_clrBkgnd );
return m_brBackground;
On the WM_CTLCOLOR
|
|
|
|
|
Dear Sir,
My Object is to do some things automatically, without using a mouse.
I need when the focus is in my ComboBox control, to drop down directly this control to show me all item inside it.
What to do to drop down a Combox Box with codes without using mouse
|
|
|
|
|
can't the user do Alt+downArrow ?
|
|
|
|
|
Thanks,
I don't need to use mouse or keys.
Programmatically what codes to write.
For example after writting this :
CFlatComboBox* cana = (CFlatComboBox*) GetDlgItem(IDC_analyse);
What to do sothat this control show all items inside it ?
|
|
|
|
|
then how does the Combo get the focus ?
|
|
|
|
|
Thanks,
I suppose that I have before sent focus to that control writting this;
CWnd::PostMessage( WM_COMMAND, MAKELONG( IDC_analyse, BN_SETFOCUS ) );
|
|
|
|
|
ok. then i have a design question for you. why do you use a GUI if the user cannot interract with it ?
|
|
|
|
|
I suppose that I am in my first control, when I lost focus there I write codes that you have seen. And when I arrive in my second control that is ComboBox, I prefere to show directly all items inside. That's my wish
|
|
|
|
|
...and how can the user select something in the comboBox List if he has no keyboard nor mouse ?
ps: you didn't answer my question, that was what is the need of having a graphical user interface if the user cannot interact on it ?!
|
|
|
|
|
Dear Sir, I used Access 5 years, and in Access, I had done it (forms!article!Modifiable1.dropdown).
That why I think that. When the focus arrive in my ComboBox, it's possible to show directly all items inside it.
If It's not possible in this language, I accept it.
|
|
|
|
|
you still don't answer my question because you're blind with whqt you have in mind.
yes it is possible in C++ (thanksfully, you can do anything in C++) and the answer has already been given.
but my question is not that, and I wont repeat it thrice. reread it, understand it, and answer only then.
|
|
|
|
|
mikobi wrote: When the focus arrive in my ComboBox, it's possible to show directly all items inside it.
Yes, but you're still going to need to use the mouse or keyboard to make a selection.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Besides toxcct's questions you should keep in mind that the Windows GUI is an event driven thing. This means that everything that happens is a reaction of smoe kind of user input.
What seems to be puzzling us is that you want things to happen without such user input.
For instance, what triggers any control in your form to loose focus, or get focus for that matter? And then again like toxcct said, what's the point of dropping down a combo if the user's not supposed to select anything?
It seems like you haven't really thought this through, or you have to describe what you're trying to do further. But, judging from the level of expertise in your questions I would bet on the former.
N.B. the above is not meant to be offensive, just trying to help you helping yourself.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|