MCPcopy Create free account
hub / github.com/Geant4/geant4 / HelpTreeDoubleClick

Method HelpTreeDoubleClick

source/interfaces/implementation/src/G4UIWin32.cc:1055–1063  ·  view source on GitHub ↗

/ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

Source from the content-addressed store, hash-verified

1053/****************************************************************************************************/
1054/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
1055void G4UIWin32::HelpTreeDoubleClick(HTREEITEM item)
1056{
1057 const char* item_path = GetItemPath(item);
1058 G4int l = strlen(item_path);
1059 Edit_SetText(fHWndComboEditor, (PTSTR)item_path);
1060 Edit_SetSel(fHWndComboEditor, l, l);
1061
1062 SetFocus(fHWndComboEditor);
1063}
1064/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
1065/****************************************************************************************************/
1066

Callers 1

MainWindowProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected