|
Hello!
How can I be notified in Windows Forms,
when a hotkey (which I registered with
RegisterHotKey) is pressed. Is there an
event for this?
Alex
|
|
|
|
|
Nope. You have to override your forms WndProc method and look for the message yourself.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
I'm assuming C#, VB, C++ and other languages are suitable for any questions related to WinForms?
Marc
Thyme In The CountryInteracxPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Marc Clifton wrote: C#, VB, C++
Already forums for them as there is for database. Could it be this forum is for design issues surrounding WinForms?
Could end up with overlapping issues.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Richard A. Abbott wrote: Could it be this forum is for design issues surrounding WinForms?
It's going to be hard to ask questions that don't go into code/language related topics as well, so I think we will see a mixture of languages. This, I believe, is what Marc was asking about.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
Marc Clifton wrote: I'm assuming C#, VB, C++ and other languages are suitable for any questions related to WinForms?
Of course. I would like to see questions regarding the language on the language forums, questions regarding a .NET type or the CLR in the .NET forum and so on.
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|
|
Inevitably. I suspect that most windows forms questions will still end up in the VB/C# forums, as most people don't know what they are asking ( just like 80% of posts in the C++/CLI forum are off topic ).
I guess that means by the time a question gets here, it's bound to be an interesting one
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Shouldn't the phrase be "language indifferent"? "language agnostic" would mean that the forum doesn't know whether programming languages exist.
|
|
|
|
|
I suspect it means that it doesn't care one way or the other.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Michael Dunn wrote: Shouldn't the phrase be "language indifferent"? "language agnostic" would mean that the forum doesn't know whether programming languages exist.
One of the definitions of agnostic is:
"uncertain of all claims to knowledge"
and you'll see the term used in computereze fairly frequently, for example:
"but thanks to the Mono project it's virtually platform-agnostic."
or:
"Yes, the person who started the Rails project is a MySQL fan... but Rails is database agnostic. "
(both quotes taken from the web)
Marc
Thyme In The CountryInteracxPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Gosh! CP must be expanding this evening.
|
|
|
|
|
I'm off for a week next week so figured I should make lots of changes in the few hours before I leave
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Colin Angus Mackay wrote: Gosh! CP must be expanding this evening
See what happens when we give Chris just a little more DB room on the SQL boxes, he eats it up right away.
David
|
|
|
|
|
I think its good idea that codeproject has separately forums for each object.
|
|
|
|