GetWindowRect(hWnd, &rcWnd);
54mi.cbSize =
sizeof(mi);
55GetMonitorInfo( MonitorFromWindow( hWnd, MONITOR_DEFAULTTOPRIMARY), &mi);
56 intxLeft = (mi.rcMonitor.left + mi.rcMonitor.right - rcWnd.right + rcWnd.left)/2;
57 intyTop = (mi.rcMonitor.top + mi.rcMonitor.bottom - rcWnd.bottom + rcWnd.top )/2;
58SetWindowPos(hWnd,
NULL, xLeft, yTop, -1, -1,
59SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);
115SetWindowLongPtr( hDlg, DWLP_USER, lParam );
124EndDialog(hDlg,IDOK);
128EndDialog(hDlg,IDCANCEL);
149 #if defined(NCBI_OS_MSWIN) 150 bool result= ( DialogBoxParam( GetModuleHandle(
NULL),
153(LPARAM)(
LPVOID)
this) == IDOK);
171cout <<
"*PTBGUI{* custom"<< endl;
173skip.push_back(
"__AllowedProjects");
175cout <<
"*PTBGUI}* custom"<< endl;
177 boolstarted =
false;
180cin.getline(
buf,
sizeof(
buf));
223cout <<
"*PTBGUI{* projects"<< endl;
236cout << prjid <<
",";
252cout <<
","<<
NStr::Replace(p->second.m_SourcesBaseDir,
"\\",
"/");
253cout <<
","<<
NStr::Join(p->second.m_ProjTags,
"/");
256cout <<
"*PTBGUI}* projects"<< endl;
258 boolstarted =
false;
262cin.getline(
buf,
sizeof(
buf));
static EMsvcPlatform GetMsvcPlatform(void)
bool IsProvided(const string &thing, bool deep=true, const SConfigInfo *cfg=nullptr) const
void GetBuildConfigs(list< SConfigInfo > *configs)
CSimpleMakeFileContents m_CustomConfiguration
bool Gui_ConfirmProjects(CProjectItemsTree &projects_tree)
bool ConfirmConfiguration(void)
unique_ptr< CMsvc7RegSettings > m_MsvcRegSettings
bool Gui_ConfirmConfiguration(void)
const CMsvcSite & GetSite(void)
void Dump(CNcbiOstream &ostr, const list< string > *skip=0) const
Debug dump.
bool DoesValueContain(const string &key, const string &value, bool ifnokey=true) const
void AddDefinition(const string &key, const string &value)
bool GetValue(const string &key, string &value) const
void Save(const string &filename) const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool StringToBool(const CTempString str)
Convert string to bool.
static void TruncateSpacesInPlace(string &str, ETrunc where=eTrunc_Both)
Truncate whitespace in a string (in-place)
static string Join(const TContainer &arr, const CTempString &delim)
Join strings using the specified delimiter.
static string & Replace(const string &src, const string &search, const string &replace, string &dst, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)
Replace occurrences of a substring within a string.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
static bool SplitInTwo(const CTempString str, const CTempString delim, string &str1, string &str2, TSplitFlags flags=0)
Split a string into two pieces using the specified delimiters.
string CreateProjectName(const CProjKey &project_id)
Project naming schema.
#define TRUE
bool replacment for C indicating true.
#define FALSE
bool replacment for C indicating false.
INT_PTR CALLBACK PtbConfigDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
void CenterWindow(HWND hWnd)
BOOL UpdateData(HWND hDlg, CProjBulderApp *pApp, BOOL bGet)
#define IDD_PTB_GUI_DIALOG
void SetFocus(CRef< objects::CSeq_entry > entry)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4