Click here to Skip to main content
15,906,645 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionMDI app with Database access Pin
Gymnast7-Jan-08 8:26
Gymnast7-Jan-08 8:26 
GeneralRe: MDI app with Database access Pin
Kschuler10-Jan-08 10:05
Kschuler10-Jan-08 10:05 
QuestionHow maintain advertisement on kiosk machine [modified] Pin
Prashant kr Yadav (MEC)7-Jan-08 3:36
Prashant kr Yadav (MEC)7-Jan-08 3:36 
AnswerRe: How maintain advertisement on kiosk machine Pin
Christian Graus8-Jan-08 9:18
protectorChristian Graus8-Jan-08 9:18 
GeneralRe: How maintain advertisement on kiosk machine Pin
Prashant kr Yadav (MEC)9-Jan-08 3:13
Prashant kr Yadav (MEC)9-Jan-08 3:13 
GeneralRe: How maintain advertisement on kiosk machine Pin
Pete O'Hanlon10-Jan-08 10:02
mvePete O'Hanlon10-Jan-08 10:02 
Generalusing shellexecuteex to register a dll Pin
iancarter7-Jan-08 0:26
iancarter7-Jan-08 0:26 
QuestionFinding the menu item the mouse is over for help request Pin
earlgraham4-Jan-08 13:03
earlgraham4-Jan-08 13:03 
I am working in C++/CLI with Windows Forms and I want to have my compiled html help point to a topic specific to where the mouse is pointing (like as a menu item) but I can't seem to determine which control the mouse is hovering over.

private: System::Void FrmMain_HelpRequested(System::Object^  sender, System::Windows::Forms::HelpEventArgs^  hlpevent) 
{
  Point pt = this->PointToClient(hlpevent->MousePos);
  Control^ requestingControl = dynamic_cast(sender);
  Control ^ctrl = this->GetChildAtPoint(pt);
  Control ^ctrl2 = this->ActiveControl;  
  if( File::Exists(this->helpProvider->HelpNamespace ) == true)
  {
    Help::ShowHelp(this, this->helpProvider->HelpNamespace);
  }
}


ctrl is the form itself and crtl2 is the last active mdichild in my application.
requestingControl returns the form (same as ctrl)and not the item the mouse is over.

Hope someone can help Sigh | :sigh:

Programmer
Glenn Earl Graham
Austin, TX

GeneralRe: Finding the menu item the mouse is over for help request Pin
Kschuler10-Jan-08 9:59
Kschuler10-Jan-08 9:59 
GeneralRe: Finding the menu item the mouse is over for help request Pin
earlgraham10-Jan-08 10:05
earlgraham10-Jan-08 10:05 
General.net remoting Pin
divyesh14323-Jan-08 23:05
divyesh14323-Jan-08 23:05 
GeneralRe: .net remoting Pin
Dave Kreskowiak4-Jan-08 8:38
mveDave Kreskowiak4-Jan-08 8:38 
General2 control units(image buttons) in one datagrid Column Pin
jekak3-Jan-08 5:32
jekak3-Jan-08 5:32 
GeneralRe: 2 control units(image buttons) in one datagrid Column Pin
led mike3-Jan-08 5:54
led mike3-Jan-08 5:54 
GeneralRe: 2 control units(image buttons) in one datagrid Column Pin
jekak3-Jan-08 6:11
jekak3-Jan-08 6:11 
GeneralRe: 2 control units(image buttons) in one datagrid Column Pin
Pete O'Hanlon10-Jan-08 10:05
mvePete O'Hanlon10-Jan-08 10:05 
QuestionCustom Datagridview cell Pin
mp9920053-Jan-08 0:43
mp9920053-Jan-08 0:43 
GeneralRe: Custom Datagridview cell Pin
LongRange.Shooter1-Feb-08 9:57
LongRange.Shooter1-Feb-08 9:57 
QuestionAny way to get all TreeNodes in a TreeView have the '+' symbol? Pin
jeffb422-Jan-08 10:20
jeffb422-Jan-08 10:20 
AnswerRe: Any way to get all TreeNodes in a TreeView have the '+' symbol? Pin
led mike2-Jan-08 10:43
led mike2-Jan-08 10:43 
AnswerRe: Any way to get all TreeNodes in a TreeView have the '+' symbol? Pin
Dave Kreskowiak2-Jan-08 12:25
mveDave Kreskowiak2-Jan-08 12:25 
GeneralRe: Any way to get all TreeNodes in a TreeView have the '+' symbol? Pin
jeffb422-Jan-08 12:57
jeffb422-Jan-08 12:57 
GeneralRe: Any way to get all TreeNodes in a TreeView have the '+' symbol? Pin
Dave Kreskowiak3-Jan-08 5:41
mveDave Kreskowiak3-Jan-08 5:41 
Generalwindows service :) [modified] Pin
accessred2-Jan-08 5:11
accessred2-Jan-08 5:11 
GeneralRe: windows service :) Pin
Dave Kreskowiak2-Jan-08 7:57
mveDave Kreskowiak2-Jan-08 7:57 

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.