Click here to Skip to main content
15,921,697 members
Home / Discussions / C#
   

C#

 
Questionhow to add new node existing treeview control and bind data from table? Pin
Ashish Kumar Vyas1-Jul-08 4:35
Ashish Kumar Vyas1-Jul-08 4:35 
QuestionAccess Insert issue Pin
kruegersck1-Jul-08 3:53
kruegersck1-Jul-08 3:53 
AnswerRe: Access Insert issue Pin
led mike1-Jul-08 4:58
led mike1-Jul-08 4:58 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:04
kruegersck1-Jul-08 5:04 
GeneralRe: Access Insert issue Pin
led mike1-Jul-08 7:32
led mike1-Jul-08 7:32 
AnswerRe: Access Insert issue Pin
Guffa1-Jul-08 5:16
Guffa1-Jul-08 5:16 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:45
kruegersck1-Jul-08 5:45 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:48
kruegersck1-Jul-08 5:48 
GeneralRe: Access Insert issue Pin
Guffa2-Jul-08 2:53
Guffa2-Jul-08 2:53 
Questionhtml to pdf Pin
laziale1-Jul-08 3:41
laziale1-Jul-08 3:41 
AnswerRe: html to pdf Pin
BoneSoft1-Jul-08 4:16
BoneSoft1-Jul-08 4:16 
AnswerRe: html to pdf Pin
Thomas Stockwell2-Jul-08 2:29
professionalThomas Stockwell2-Jul-08 2:29 
QuestionWeird Socket behaviour after using NetworkStream Pin
__DanC__1-Jul-08 3:28
__DanC__1-Jul-08 3:28 
AnswerRe: Weird Socket behaviour after using NetworkStream Pin
leppie1-Jul-08 3:32
leppie1-Jul-08 3:32 
GeneralRe: Weird Socket behaviour after using NetworkStream Pin
__DanC__1-Jul-08 3:42
__DanC__1-Jul-08 3:42 
GeneralRe: Weird Socket behaviour after using NetworkStream Pin
leppie1-Jul-08 4:13
leppie1-Jul-08 4:13 
Questionhotkey work but i still want to send the HotKey to the current activated application [modified] Pin
troiszyzy1-Jul-08 2:57
troiszyzy1-Jul-08 2:57 
Hello,
I use hotkey for activate my form with the NotifyIcon.
It work but i still want to send the HotKey to the current activated application also.

I use '²' key on my french keyboard (only akey simultanous).

code:
protected override void WndProc(ref Message m){
base.WndProc(ref m);
if (m.Msg == WM_HOTKEY){
if (contextMenuStrip_fenetre.Visible)
{
this.ferme_fenetre();
}
else
{
this.affiche_fenetre();
}
}
}

public void RegisterGlobalHotKey(Keys hotkey, int modifiers)
{
String atomName = AppDomain.GetCurrentThreadId().ToString("X8");
GlobalAddAtom(atomName);
RegisterHotKey(this.Handle, hotKeyId, modifiers, (int)hotkey);

modified on Tuesday, July 1, 2008 2:35 PM

Questiondoes anyone have an idea? Pin
troiszyzy1-Jul-08 8:46
troiszyzy1-Jul-08 8:46 
AnswerRe: hotkey work but i still want to send the HotKey to the current activated application Pin
Michael90001-Jul-08 10:26
Michael90001-Jul-08 10:26 
QuestionRe: hotkey work but i still want to send the HotKey to the current activated application Pin
troiszyzy1-Jul-08 23:57
troiszyzy1-Jul-08 23:57 
AnswerRe: hotkey work but i still want to send the HotKey to the current activated application Pin
Michael90003-Jul-08 1:47
Michael90003-Jul-08 1:47 
QuestionWindows API question? Pin
Mohammad Dayyan1-Jul-08 2:21
Mohammad Dayyan1-Jul-08 2:21 
AnswerRe: Windows API question? Pin
DaveyM691-Jul-08 3:23
professionalDaveyM691-Jul-08 3:23 
GeneralRe: Windows API question? Pin
Mohammad Dayyan1-Jul-08 4:58
Mohammad Dayyan1-Jul-08 4:58 
QuestionRank Checker Pin
D i x y1-Jul-08 2:12
D i x y1-Jul-08 2:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.