Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

147 Commits

Repository files navigation

Friendly.Windows.NativeStandardControls

This library is a layer on top of Friendly, so you must learn that first. But it is very easy to learn.

https://github.com/Codeer-Software/Friendly

Getting Started

Install Friendly.Windows from NuGet

PM> Install-Package Codeer.Friendly.Windows.NativeStandardControls

https://www.nuget.org/packages/Codeer.Friendly.Windows.NativeStandardControls/


Friendly.Windows.NativeStandardControls defines the following classes.
They can operate Win32/MFC control easily from a separate process.

  • NativeButton
  • NativeComboBox
  • NativeDateTimePicker
  • NativeEdit
  • NativeIPAddress
  • NativeListBox
  • NativeListControl
  • NativeMenuItem
  • NativeMessageBox
  • NativeMonthCalendar
  • NativeProgress
  • NativeScrollBar
  • NativeSlider
  • NativeSpinButton
  • NativeTab
  • NativeTree

//sample varprocess=Process.GetProcessesByName("NativeTarget")[0];using(varapp=newWindowsAppFriend(process)){vartestDlg=WindowControl.FromZTop(app);//Buttonvarbutton=newNativeButton(testDlg.IdentifyFromDialogId(1004));button.EmulateClick();//Editvaredit=newNativeEdit(testDlg.IdentifyFromDialogId(1020));edit.EmulateChangeText("abc");//Treevartree=newNativeTree(testDlg.IdentifyFromDialogId(1041));tree.EmulateEdit(tree.Nodes[0],"new text");}

More samples

https://github.com/Codeer-Software/Friendly.Windows.NativeStandardControls/tree/master/Project/Test


For other GUI types, use the following libraries:

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages