Click here to Skip to main content
14,660,427 members
Home » Discussions » C#
   

C#

 
AnswerRe: DataBase in User Control Pin
OriginalGriff4-Aug-20 4:32
mveOriginalGriff4-Aug-20 4:32 
GeneralRe: DataBase in User Control Pin
Gerry Schmitz4-Aug-20 6:12
mveGerry Schmitz4-Aug-20 6:12 
GeneralRe: DataBase in User Control Pin
OriginalGriff4-Aug-20 6:26
mveOriginalGriff4-Aug-20 6:26 
QuestionHow can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w31-Jul-20 2:38
Memberarnold_w31-Jul-20 2:38 
AnswerRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Eddy Vluggen31-Jul-20 2:53
professionalEddy Vluggen31-Jul-20 2:53 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w31-Jul-20 4:03
Memberarnold_w31-Jul-20 4:03 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard MacCutchan31-Jul-20 4:49
mveRichard MacCutchan31-Jul-20 4:49 
AnswerRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w31-Jul-20 11:03
Memberarnold_w31-Jul-20 11:03 
I made a dump of all windows using Spy++ and this what I got:
	Window 000C0678 "C:\DummyRepo - Switch/Checkout - TortoiseGit" #32770 (Dialog)
		Window 000B0670 "" ScrollBar
		Window 00070482 "Switch To" Button
		Window 001D065E "&Branch" Button
		Window 000B01AE "" ComboBoxEx32
			Window 0004036E "ⴀ辘ȡ" ComboBox
		Window 0017069A "..." Button
		Window 001303D2 "&Tag" Button
		Window 000B04DE "" ComboBoxEx32
			Window 001105D4 "" ComboBox
		Window 00190620 "&Commit" Button
		Window 000F06D8 "c288b35fcabf74c51270fff36db3387517beda53" ComboBoxEx32
			Window 001406CE "Ɒ辘ȡ" ComboBox
				Window 001005CE "c288b35fcabf74c51270fff36db3387517beda53" Edit
		Window 00220458 "..." Button
		Window 00170604 "Option" Button
		Window 000E0684 "Create &New Branch" Button
		Window 002503EA "Branch_c288b35f" Edit
		Window 00390628 "Overwrite working tree changes (&force)" Button
		Window 004404EE "&Merge" Button
		Window 00300666 "T&rack" Button
		Window 0040045C "&Override branch if exists" Button
		Window 001404DC "OK" Button
		Window 0008025E "Cancel" Button
		Window 00220396 "Help" Button
	Window 00040616 "C:\DummyRepo - Log Messages - TortoiseGit" #32770 (Dialog)
		Window 000D04E6 "" Static
		Window 002A0602 "" Static
		Window 00040622 "master" Static
		Window 002204CA "From:" Static
		Window 001104C2 "2020-07-31" SysDateTimePick32
		Window 001904A4 "To:" Static
		Window 001A0496 "2020-07-31" SysDateTimePick32
		Window 000F0560 "" Edit
		Window 00080638 "Author Email" ComboBox
		Window 000F01F2 "" Button
		Window 001904B0 "" Button
		Window 00190498 "" SysListView32
			Window 00150422 "" SysHeader32
		Window 00350426 "SHA-1: c288b35fcabf74c51270fff36db3387517beda53

* 1
" RICHEDIT50W
		Window 005B04E4 "" Static
		Window 001104F0 "" SysListView32
			Window 0013045E "" SysHeader32
		Window 004A06CA "Showing 2 revision(s), from revision c288b35f to revision b7a040a4 - 1 revision(s) selected, 0 file(s) selected; line: 1(+) 0(-) files: modified = 0 added = 1 deleted = 0 replaced = 0" Edit
		Window 0017060A "Show &Whole Project" Button
		Window 001705FC "&All Branches" Button
		Window 00290424 "" Edit
		Window 00460660 "Help" Button
		Window 0019048C "Refresh" Button
		Window 004A065C "S&tatistics" Button
		Window 000D036A "Walk Be&haviour" Button
		Window 00160492 "&View" Button
		Window 0016048E "OK" Button
		Window 004B069E "OK" Button
		Window 0024064A "" msctls_progress32
		Window 0004061A "" ScrollBar
So, it seems the Switch/Checkout window is not a child or a "sub" form of the Log Message window, they certainly seem to be on the same level (both are "sibling parents"?). So, I guess I'm back to square one. Does anybody know how I can find the Switch/Checkout window instead of the Log Message window? When I obtain a MainWindowHandle from the process name (TortoiseGitProc) it returns a pointer to the Log Message window. Does anybody know what I should do?
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Gerry Schmitz31-Jul-20 12:41
mveGerry Schmitz31-Jul-20 12:41 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x6431-Jul-20 16:22
professionalRichard Andrew x6431-Jul-20 16:22 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w31-Jul-20 23:09
Memberarnold_w31-Jul-20 23:09 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w31-Jul-20 23:58
Memberarnold_w31-Jul-20 23:58 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 1:44
professionalRichard Andrew x641-Aug-20 1:44 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 1:55
Memberarnold_w1-Aug-20 1:55 
AnswerRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 1:47
professionalRichard Andrew x641-Aug-20 1:47 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 2:04
Memberarnold_w1-Aug-20 2:04 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 2:07
professionalRichard Andrew x641-Aug-20 2:07 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 2:45
Memberarnold_w1-Aug-20 2:45 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 3:24
professionalRichard Andrew x641-Aug-20 3:24 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 3:49
Memberarnold_w1-Aug-20 3:49 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 4:31
professionalRichard Andrew x641-Aug-20 4:31 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 5:22
Memberarnold_w1-Aug-20 5:22 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 5:36
professionalRichard Andrew x641-Aug-20 5:36 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
arnold_w1-Aug-20 6:07
Memberarnold_w1-Aug-20 6:07 
GeneralRe: How can I get handle (IntPtr) to a "sub"-form in another application? Pin
Richard Andrew x641-Aug-20 6:10
professionalRichard Andrew x641-Aug-20 6:10 

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.