|
Hktam wrote:
I want that windows form can not be activated, it does not take the input focus. Is there any Windows API could does that
Hmm... not that I know of,
but you could intercept the onFocus event... ?
I got to try and see if it is possible,
but that's what I'd look at:
when the form gets focus, let the parent form (or whatever else)
get focus.
HTH,
FOR
|
|
|
|
|
Thank you in advance. Some windows forms like IME windows or MS intelliSense pop-up windows, they do not take the input focus, that kind of windows form is what I want for.
|
|
|
|
|
Hi,
Iam using EventLog Trace Listener. My question is how can I set the
trace level in the event log for example if the trace level is Error
the message displayed in the event log should have red cross icon with it.
Thanks,
Rinks.
|
|
|
|
|
Hi, I'm writing a user control that is basicly a collapsable panel. I would like the client to be able to insert the control into their form, and expand and collapse the control. The control expands/collapses when you click on the top part of it when you run the application, but when you click on it in the .NET form editor, it just selects it.
How do I make it functional in the form editor, like the tab control, where you can click on tab pages?
Thanks in advance,
Dave
Dave Kerr
focus_business@hotmail.com
www.focus.esmartweb.com
|
|
|
|
|
Dave Kerr wrote:
How do I make it functional in the form editor, like the tab control, where you can click on tab pages?
Are you overriding the WndProc and catching the proper messages?
-Nick Parker
|
|
|
|
|
No, i'm not override WndProc, which messages should I be catching?
Dave Kerr
focus_business@hotmail.com
www.focus.esmartweb.com
|
|
|
|
|
Yes. I have all three (VC6, VS.NET and VS.NET2003) all running on the same machine.
Michael
'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
|
|
|
|
|
I thought it was 2002 and 2003?
Anyways, yes you can, but you have to be careful. Once you open a project/solution in VS 2003, you can't open it in VS 2002 anymore.
Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
|
|
|
|
|
I am using the tab control with the tabs alignment set to "Left".
I would like to know if it possible to show the tab text in a horizontal view instead of a vertical view?
TIA
Ben Alicea
|
|
|
|
|
yes the property "Alignment" set it to top/bottom or left/right which would be horizontal and vertical respectively
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
I need a good book on Visual C#. I'm not a noob at programming (only when it comes to C#) so it would be preferable if the book is geared towards already coders (I've used Java extensively so I assume some of it will sink in relatively easy).
Any recommendations?
I've been thinking about either Programming C# or Inside C#.
|
|
|
|
|
Rohde wrote:
Inside C#.
Tom Archer rules.
while (!sorted)
;
|
|
|
|
|
Programming C# (3rd Ed) by Jesse Liberty.
Concentrates more on the C# language while providing the basics of the associated .NET stuff. So, for example, if you also wanted i-depth ASP.NET you would find it in Jesse's book on ASP.NET.
But I found that Programming C# got me up to speed rapidly. Only problem is I can't find anyone who's prepared to pay me to do C#, as I haven't got commercial experience!
Also, there is now an MS-Press book out called "C# for Java Developers" or something. But I've not read it.
Kevin
|
|
|
|
|
NEVER buy DEITEL & DEITEL C# books
They should be burned!!!
unless of course you dont have matches
Actually if you dont even know what a binary number is then its a good book but if you understand programming at all they bite
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
Ista wrote:
NEVER buy DEITEL & DEITEL C# books
They should be burned!!!
LOL, they're not that bad! It's just that their target audience are beginners and they don't have any advance stuff, but I thought their books are a good start if you're just starting to program
Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
|
|
|
|
|
Well I bought the c# for advanced programmers thinking I would learn a lot but they go over basics completely and dont even show neat tricks with list views or ado.net. I got more out of exam cram books and my old vb.net book by Dan Foxx. I have thier Java book also and ironically that one was really good and went in depth into topics that were somewhat complicated.
They are great books for teachers and trainers though because they dont explain hardly anything and assemble real world examples rather than just diving down into the dirt. That reminds me the other thing I hate about them. Try to find one little example and you have to dig through 5 function just to get it.
My beef has been said.
But I did like the section on MIT in thier book. They should stick to Java though, thats where they excel.(is that spelled right?)
Nick
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
Like I said, they're good for beginners ( don't believe it when their cover says advanced ) , but I wouldn't use one now.
Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
|
|
|
|
|
yeah I fell for it hook line and sinker. doh
Wish I knew of a really good advanced c# book though
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|
|
Well, everyone in CP recommends Inside C#. Personally I haven't tried the book yet ,but that Tom Archer bloke seems smart enough
Ista wrote:
I'm not an expert yet, but I play one at work. Yeah and here too.
Hey, me too. Just hope my boss and the people taking my advice doesn't find out.
Nick Seng (the programmer formerly known as Notorious SMC)
God, I pity me! - Phoncible P. Bone
|
|
|
|
|
Hi! I suggest you try ebook versions of both books.
I actually have ebook versions of Inside C# 1st edition
and Programming C# 2nd Edition. Although I haven't
read them all, Programming C# provides a clear explanation.
But I didnt buy any of these books coz its expensive here.
"To teach is to learn twice"
|
|
|
|
|
C# Unleashed, Sams
Don't forget, that's Persian Gulf not Arabian gulf!
|
|
|
|
|
Would anybody know how to individually refresh propertyGrid items. My test is to use a timer to call propertyGrid1.Refresh() where one of the items (properties) is a string from DateTime.Now.ToString(); This does work except when you edit other properties and the current edit seems to get erased/reset.
of course this is understandable when using the Refresh(); so what I need I think is just to tell the DateTime property to refresh itself.
Knowing you code gurus out there, Im sure that there is a method Im overlooking.
Cheers
|
|
|
|
|
hello
can anyone tell me, how to code a custom PropertySort for a propertygrid?
maybe there is another better solution for my problem,
but i think it is the only way.
my problem: i have a class named person with different properties and so on.
i use this class as objekt for a propertygrid,
but the problem is, that the categories are sorted alphabeticaly,
but i want an own sort. i changed PropertySort to "NoSort", but it did not help.
can anyone help me?
thx
cya
|
|
|
|
|
I am wondering is it ok that reports (crystal reports) works slower when you report from dataset???
I am asking becouse when I report from ADO.NET dataset, reports open very slow, but when I report from database (SQL) directly - it works faster!!!!
thanx
|
|
|
|
|
That may not necessarily be the case.
They should not be slower in theory
But crystal reports has a bug in that if a fields gets corrupted it lags bad
I'm not an expert yet, but I play one at work. Yeah and here too.
|
|
|
|