|
i want to use the code which i copied here in the implementation of OnNcPaint() to get the non-client area of a one window and put a color for it, i want to know that with them i can work with non-client area or not?
(i am beginner in programming,)
sincerely
F.
|
|
|
|
|
Miss_F wrote: Do you think it would help?
if you try that in the OnNcPaint, does that work ?
|
|
|
|
|
OK I've been modding my windows desktop lately, and I've added these two apps to my startup:
allSnap (www.allsnap.org): causes windows to snap to eachother and to desktop edges by their borders when moving them around
taekwindow(http://taekwindow.sf.net): lets you drag any window around by holding your ALT key and left clicking on the window (anywhere, client area, titlebar, whatever), it also lets you resize with right mouse button. Some nix users will love this functionality.
The problem is taekwindow uses SetWindowPos() / WM_MOVE for every pixel that the window is moved. allSnap however uses a windows hook that monitors an unknown system message (WM_MOVING and WM_SIZING mabye?) and then does its magic.
I tried to simulate a titlebar click and moving messages in taekwindow (the source is available) to get it to trigger allSnap but to no avail, so I thought I would post the idea here in hopes that someone else would be interested in this and able to further the cause.
Thanks!
|
|
|
|
|
hello;
how can I become a programmer ? how can I start?
please help me.
|
|
|
|
|
learn something different than VB
|
|
|
|
|
Real programmers can handle VB without too demage.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
Real programmers even write FORTRAN-programs in VB
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"
|
|
|
|
|
Good Point!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
Or even a programmer can write a program on the Autoexec.Bat
|
|
|
|
|
My (probably incomplete) suggestions:
Do you have a rough idea about your programming area and ambitions? It can help you choosing the first programming language to learn, then:
Read good books.
Read good tutorials and code samples.
Start coding very simple projects.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
And for start which language? VB,C++,F#,C#,... (of course remember that you are here on the VC++ forum ).
|
|
|
|
|
The only language the real programmer should start from is, of course, C , then after several years spent mastering it, he can pass to C++ , finally, after several years spent mastering C++ and OOP (and casually exploiting, on exotic evenings, some C# ), the real programmer, by nature, will return to pure C programming.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
And after these years programmer will be understand s(he) cant use of it because its old,and s(he) needs to start to learn new language.
|
|
|
|
|
Nope. C ages well, like good red wine.
The man will become older, stuck to the C language, while the woman, smarter, will became his boss and will have no more to do with programming languages.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
I give you 5.
|
|
|
|
|
Because you're my friend.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
Congratulation!
You dont need to Gold symbol because you have Platinum
|
|
|
|
|
Well I think there must be an error at CP.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
I think yes because I saw other members have Platinum!
|
|
|
|
|
Hamid. wrote: I think yes because I saw other members have Platinum!
And in fact I'm the only one deserving it.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
|
razi_Seyyedi wrote: how can I become a programmer ?
If you know WHAT a programmer does, then the HOW is easily answered.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
I'm new to Visual C++ and am creating a windows form application.
I was wondering if it was possible to link a console application which is written in C but stored in C++ files to a windows form?
So for example if I clicked a button in the Windows Form application then this would run the console application?
modified on Wednesday, January 16, 2008 5:56:25 AM
|
|
|
|
|
Can you be more specific.
|
|
|
|