Decompile fn_03581 (UINavigationV4Wnd::OnCreate)

Batch #15311 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_03581 UINavigationV4Wnd::OnCreate: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-09 20:51:23 +00:00
commit 812e8cdcc4

View file

@ -2262,184 +2262,162 @@ void UIListBox_NaviSearch::Paint() {
// OFFSET: 0x005C4EA0
// FUNCTION: fn_03581
void UINavigationV4Wnd::OnCreate(int, int) {
UIBitmapButton* closeButton = new UIBitmapButton();
this->expandedCloseButton = closeButton;
closeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_normal.bmp", 0, 0);
closeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_over.bmp", 1, 0);
closeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_press.bmp", 2, 0);
closeButton->SetSize(closeButton->BitmapWidth(), closeButton->BitmapHeight());
closeButton->SetId(201);
closeButton->SetTooltip(LookupMessage(MSI_ZENY_LOTTO_BUY_10));
this->AddChild(closeButton);
this->expandedCloseButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->expandedCloseButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->expandedCloseButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->expandedCloseButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_close_press.bmp", 2, 0);
this->expandedCloseButton->SetSize(static_cast<UIBitmapButton*>(this->expandedCloseButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->expandedCloseButton)->BitmapHeight());
this->expandedCloseButton->SetId(201);
static_cast<UIBitmapButton*>(this->expandedCloseButton)->SetTooltip(LookupMessage(MSI_ZENY_LOTTO_BUY_10));
this->AddChild(this->expandedCloseButton);
UIBitmapButton* maximizeButton = new UIBitmapButton();
this->maximizeButton = maximizeButton;
maximizeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_normal.bmp", 0, 0);
maximizeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_over.bmp", 1, 0);
maximizeButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_press.bmp", 2, 0);
maximizeButton->SetSize(maximizeButton->BitmapWidth(), maximizeButton->BitmapHeight());
maximizeButton->SetId(200);
maximizeButton->SetTooltip(LookupMessage(MSI_NAVIGATION_ALL));
this->AddChild(maximizeButton);
this->maximizeButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->maximizeButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->maximizeButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->maximizeButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_maximize_press.bmp", 2, 0);
this->maximizeButton->SetSize(static_cast<UIBitmapButton*>(this->maximizeButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->maximizeButton)->BitmapHeight());
this->maximizeButton->SetId(200);
static_cast<UIBitmapButton*>(this->maximizeButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_ALL));
this->AddChild(this->maximizeButton);
UICheckBox* minimizeCheck = new UICheckBox();
this->minimizeCheck = minimizeCheck;
minimizeCheck->SetSize(110, 12);
minimizeCheck->SetImages("유저인터페이스\\checkbox_1.bmp", "유저인터페이스\\checkbox_0.bmp", "Minimize");
minimizeCheck->SetChecked(0);
minimizeCheck->SetTooltip(LookupMessage(MSI_NAVIGATION_MAP));
this->AddChild(minimizeCheck);
this->minimizeCheck = new UICheckBox();
this->minimizeCheck->SetSize(110, 12);
static_cast<UICheckBox*>(this->minimizeCheck)->SetImages("유저인터페이스\\checkbox_1.bmp", "유저인터페이스\\checkbox_0.bmp", "Minimize");
static_cast<UICheckBox*>(this->minimizeCheck)->SetChecked(0);
static_cast<UICheckBox*>(this->minimizeCheck)->SetTooltip(LookupMessage(MSI_NAVIGATION_MAP));
this->AddChild(this->minimizeCheck);
UIBitmapButton* roadIconButton = new UIBitmapButton();
this->roadIconButton = roadIconButton;
this->roadIconButton = new UIBitmapButton();
this->SetRoadIcon(g_navigationManager.viewIcon);
roadIconButton->SetSize(roadIconButton->BitmapWidth(), roadIconButton->BitmapHeight());
roadIconButton->SetId(189);
roadIconButton->SetTooltip(LookupMessage(MSI_TAREN_LOGINREFUSE_FAIL_NOTACTIVATED));
this->AddChild(roadIconButton);
this->roadIconButton->SetSize(static_cast<UIBitmapButton*>(this->roadIconButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->roadIconButton)->BitmapHeight());
this->roadIconButton->SetId(189);
static_cast<UIBitmapButton*>(this->roadIconButton)->SetTooltip(LookupMessage(MSI_TAREN_LOGINREFUSE_FAIL_NOTACTIVATED));
this->AddChild(this->roadIconButton);
UIBitmapButton* roadListButton = new UIBitmapButton();
this->roadListButton = roadListButton;
roadListButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_normal.bmp", 0, 0);
roadListButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_over.bmp", 1, 0);
roadListButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_press.bmp", 2, 0);
roadListButton->SetSize(roadListButton->BitmapWidth(), roadListButton->BitmapHeight());
roadListButton->SetId(442);
roadListButton->SetTooltip(LookupMessage(MSI_NAVIGATION_SEARCHTORUITE));
this->AddChild(roadListButton);
this->roadListButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->roadListButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->roadListButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->roadListButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_roadlistwnd_press.bmp", 2, 0);
this->roadListButton->SetSize(static_cast<UIBitmapButton*>(this->roadListButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->roadListButton)->BitmapHeight());
this->roadListButton->SetId(442);
static_cast<UIBitmapButton*>(this->roadListButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_SEARCHTORUITE));
this->AddChild(this->roadListButton);
UIListBox_NaviSearch* roadList = new UIListBox_NaviSearch();
this->roadList = roadList;
roadList->SetSize(138, 244);
roadList->backgroundRed = 255;
roadList->backgroundGreen = 255;
roadList->backgroundBlue = 255;
roadList->SetId(336);
this->AddChild(roadList);
this->roadList = new UIListBox_NaviSearch();
this->roadList->SetSize(138, 244);
this->roadList->backgroundRed = 255;
this->roadList->backgroundGreen = 255;
this->roadList->backgroundBlue = 255;
this->roadList->SetId(336);
this->AddChild(this->roadList);
UIListBox_NaviSearch* searchList = new UIListBox_NaviSearch();
this->searchList = searchList;
searchList->SetSize(132, 80);
searchList->backgroundRed = 240;
searchList->backgroundGreen = 244;
searchList->backgroundBlue = 253;
searchList->SetId(441);
this->AddChild(searchList);
this->searchList = new UIListBox_NaviSearch();
this->searchList->SetSize(132, 80);
this->searchList->backgroundRed = 240;
this->searchList->backgroundGreen = 244;
this->searchList->backgroundBlue = 253;
this->searchList->SetId(441);
this->AddChild(this->searchList);
UICheckBox* filterCheck = new UICheckBox();
this->filterCheck = filterCheck;
filterCheck->SetSize(110, 12);
filterCheck->SetImages("유저인터페이스\\checkbox_1.bmp", "유저인터페이스\\checkbox_0.bmp", "service");
filterCheck->SetId(213);
filterCheck->SetChecked(g_navigationManager.allowGates);
filterCheck->SetTooltip(LookupMessage(MSI_NAVIGATION_V4_HELP));
this->AddChild(filterCheck);
this->filterCheck = new UICheckBox();
this->filterCheck->SetSize(110, 12);
static_cast<UICheckBox*>(this->filterCheck)->SetImages("유저인터페이스\\checkbox_1.bmp", "유저인터페이스\\checkbox_0.bmp", "service");
this->filterCheck->SetId(213);
static_cast<UICheckBox*>(this->filterCheck)->SetChecked(g_navigationManager.allowGates);
static_cast<UICheckBox*>(this->filterCheck)->SetTooltip(LookupMessage(MSI_NAVIGATION_V4_HELP));
this->AddChild(this->filterCheck);
UIBitmapButton* shareButton = new UIBitmapButton();
this->shareButton = shareButton;
shareButton->SetBitmap("유저인터페이스\\private_airplane\\btn_share_normal.bmp", 0, 0);
shareButton->SetBitmap("유저인터페이스\\private_airplane\\btn_share_over.bmp", 1, 0);
shareButton->SetBitmap("유저인터페이스\\private_airplane\\btn_share_press.bmp", 2, 0);
shareButton->SetSize(shareButton->BitmapWidth(), shareButton->BitmapHeight());
shareButton->SetId(354);
shareButton->SetTooltip(LookupMessage(MSI_NAVIGATION_SHARE_DESC));
this->AddChild(shareButton);
this->shareButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->shareButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_share_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->shareButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_share_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->shareButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_share_press.bmp", 2, 0);
this->shareButton->SetSize(static_cast<UIBitmapButton*>(this->shareButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->shareButton)->BitmapHeight());
this->shareButton->SetId(354);
static_cast<UIBitmapButton*>(this->shareButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_SHARE_DESC));
this->AddChild(this->shareButton);
UIBitmapButton* findButton = new UIBitmapButton();
this->findButton = findButton;
findButton->SetBitmap("유저인터페이스\\private_airplane\\btn_find_normal.bmp", 0, 0);
findButton->SetBitmap("유저인터페이스\\private_airplane\\btn_find_over.bmp", 1, 0);
findButton->SetBitmap("유저인터페이스\\private_airplane\\btn_find_press.bmp", 2, 0);
findButton->SetSize(findButton->BitmapWidth(), findButton->BitmapHeight());
findButton->SetId(430);
findButton->SetTooltip(LookupMessage(MSI_NAVIGATION_VIEWCHANGE));
this->AddChild(findButton);
this->findButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->findButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_find_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->findButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_find_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->findButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_find_press.bmp", 2, 0);
this->findButton->SetSize(static_cast<UIBitmapButton*>(this->findButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->findButton)->BitmapHeight());
this->findButton->SetId(430);
static_cast<UIBitmapButton*>(this->findButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_VIEWCHANGE));
this->AddChild(this->findButton);
UIBitmapButton* moveButton = new UIBitmapButton();
this->moveButton = moveButton;
moveButton->SetBitmap("유저인터페이스\\private_airplane\\btn_move_normal.bmp", 0, 0);
moveButton->SetBitmap("유저인터페이스\\private_airplane\\btn_move_over.bmp", 1, 0);
moveButton->SetBitmap("유저인터페이스\\private_airplane\\btn_move_press.bmp", 2, 0);
moveButton->SetSize(moveButton->BitmapWidth(), moveButton->BitmapHeight());
moveButton->SetId(499);
this->AddChild(moveButton);
this->moveButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->moveButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_move_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->moveButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_move_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->moveButton)->SetBitmap("유저인터페이스\\private_airplane\\btn_move_press.bmp", 2, 0);
this->moveButton->SetSize(static_cast<UIBitmapButton*>(this->moveButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->moveButton)->BitmapHeight());
this->moveButton->SetId(499);
this->AddChild(this->moveButton);
UIStaticText* label = new UIStaticText();
this->summaryLabel = label;
label->SetSize(100, 20);
this->AddChild(label);
label->SetText(LookupMessage(MSI_NAVIGATION_SEARCH_02), 0);
label->SetColor(0, 0, 0);
this->summaryLabel = new UIStaticText();
this->summaryLabel->SetSize(100, 20);
this->AddChild(this->summaryLabel);
this->summaryLabel->SetText(LookupMessage(MSI_NAVIGATION_SEARCH_02), 0);
this->summaryLabel->SetColor(0, 0, 0);
this->closeButton = this->AddCloseButton(LookupMessage(MSI_ZENY_LOTTO_BUY_10), 0);
this->minimizeButton = this->AddMinimizeButton(LookupMessage(MSI_NAVIGATION_MAP), 0);
UIBitmapButton* helpButton = new UIBitmapButton();
this->helpButton = helpButton;
helpButton->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_off.bmp", 0, 0);
helpButton->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_on.bmp", 1, 0);
helpButton->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_on.bmp", 2, 0);
helpButton->SetSize(helpButton->BitmapWidth(), helpButton->BitmapHeight());
helpButton->SetId(343);
helpButton->SetTooltip(LookupMessage(MSI_NAVIGATION_NPC));
this->AddChild(helpButton);
this->helpButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->helpButton)->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_off.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->helpButton)->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_on.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->helpButton)->SetBitmap("유저인터페이스\\navigation_interface\\NaviHelp_on.bmp", 2, 0);
this->helpButton->SetSize(static_cast<UIBitmapButton*>(this->helpButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->helpButton)->BitmapHeight());
this->helpButton->SetId(343);
static_cast<UIBitmapButton*>(this->helpButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_NPC));
this->AddChild(this->helpButton);
UIBitmapButton* dataButton = new UIBitmapButton();
this->dataButton = dataButton;
dataButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_normal.bmp", 0, 0);
dataButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_over.bmp", 1, 0);
dataButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_press.bmp", 2, 0);
dataButton->SetSize(dataButton->BitmapWidth(), dataButton->BitmapHeight());
dataButton->SetId(191);
dataButton->SetTooltip(LookupMessage(MSI_NAVIGATION_MINI));
this->AddChild(dataButton);
this->dataButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->dataButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->dataButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->dataButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_Navidata_Open_press.bmp", 2, 0);
this->dataButton->SetSize(static_cast<UIBitmapButton*>(this->dataButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->dataButton)->BitmapHeight());
this->dataButton->SetId(191);
static_cast<UIBitmapButton*>(this->dataButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_MINI));
this->AddChild(this->dataButton);
UIBitmapEditCtrl* searchEdit = new UIBitmapEditCtrl();
this->searchEdit = searchEdit;
searchEdit->SetSize(113, 18);
searchEdit->maximum = 30;
searchEdit->SetBitmapName("유저인터페이스\\navigation_interface3\\bg_search.bmp");
searchEdit->SetId(516);
this->AddChild(searchEdit);
this->searchEdit = new UIBitmapEditCtrl;
this->searchEdit->SetSize(113, 18);
static_cast<UIBitmapEditCtrl*>(this->searchEdit)->maximum = 30;
static_cast<UIBitmapEditCtrl*>(this->searchEdit)->SetBitmapName("유저인터페이스\\navigation_interface3\\bg_search.bmp");
this->searchEdit->SetId(516);
this->AddChild(this->searchEdit);
UIBitmapButton* searchButton = new UIBitmapButton();
this->searchButton = searchButton;
searchButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_normal.bmp", 3, 0);
searchButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_normal.bmp", 0, 0);
searchButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_over.bmp", 1, 0);
searchButton->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_press.bmp", 2, 0);
searchButton->SetSize(searchButton->BitmapWidth(), searchButton->BitmapHeight());
searchButton->SetId(321);
searchButton->SetTooltip(LookupMessage(MSI_NAVIGATION_SEARCHINFO));
this->AddChild(searchButton);
this->searchButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->searchButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_normal.bmp", 3, 0);
static_cast<UIBitmapButton*>(this->searchButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_normal.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->searchButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_over.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->searchButton)->SetBitmap("유저인터페이스\\navigation_interface3\\btn_searchbar_press.bmp", 2, 0);
this->searchButton->SetSize(static_cast<UIBitmapButton*>(this->searchButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->searchButton)->BitmapHeight());
this->searchButton->SetId(321);
static_cast<UIBitmapButton*>(this->searchButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_SEARCHINFO));
this->AddChild(this->searchButton);
UIBitmapButton* backButton = new UIBitmapButton();
this->backButton = backButton;
backButton->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back.bmp", 3, 0);
backButton->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back.bmp", 0, 0);
backButton->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back_on.bmp", 1, 0);
backButton->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back_on.bmp", 2, 0);
backButton->SetSize(backButton->BitmapWidth(), backButton->BitmapHeight());
backButton->SetId(284);
backButton->SetTooltip(LookupMessage(MSI_NAVIGATION_ICONTIP));
this->AddChild(backButton);
this->backButton = new UIBitmapButton();
static_cast<UIBitmapButton*>(this->backButton)->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back.bmp", 3, 0);
static_cast<UIBitmapButton*>(this->backButton)->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back.bmp", 0, 0);
static_cast<UIBitmapButton*>(this->backButton)->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back_on.bmp", 1, 0);
static_cast<UIBitmapButton*>(this->backButton)->SetBitmap("유저인터페이스\\navigation_interface3\\bt_back_on.bmp", 2, 0);
this->backButton->SetSize(static_cast<UIBitmapButton*>(this->backButton)->BitmapWidth(), static_cast<UIBitmapButton*>(this->backButton)->BitmapHeight());
this->backButton->SetId(284);
static_cast<UIBitmapButton*>(this->backButton)->SetTooltip(LookupMessage(MSI_NAVIGATION_ICONTIP));
this->AddChild(this->backButton);
UIComboBox_BmpWnd* searchType = new UIComboBox_BmpWnd();
this->searchType = searchType;
searchType->dropdownHeight = 67;
searchType->Create(61, 18, "유저인터페이스\\navigation_interface3\\bg_combo.bmp", "유저인터페이스\\navigation_interface3\\dropdown_on");
searchType->borderRed = 100;
searchType->borderGreen = 100;
searchType->borderBlue = 100;
searchType->red = 232;
searchType->green = 232;
searchType->blue = 232;
this->AddChild(searchType);
searchType->AddOption(LookupMessage(MSI_NAVIGATION_MOB), 0);
searchType->AddOption(LookupMessage(MSI_NAVIGATION_SETSTRING), 0);
searchType->AddOption(LookupMessage(MSI_NAVIGATION_SCROLL), 0);
searchType->AddOption(LookupMessage(MSI_NAVIGATION_USESCROLL), 0);
searchType->Select(g_navigationManager.searchType);
this->searchType = new UIComboBox_BmpWnd();
static_cast<UIComboBox_BmpWnd*>(this->searchType)->dropdownHeight = 67;
static_cast<UIComboBox_BmpWnd*>(this->searchType)->Create(61, 18, "유저인터페이스\\navigation_interface3\\bg_combo.bmp", "유저인터페이스\\navigation_interface3\\dropdown_on");
static_cast<UIComboBox_BmpWnd*>(this->searchType)->SetBorderColor(100, 100, 100);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->SetColor(232, 232, 232);
this->AddChild(this->searchType);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->AddOption(LookupMessage(MSI_NAVIGATION_MOB), 0);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->AddOption(LookupMessage(MSI_NAVIGATION_SETSTRING), 0);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->AddOption(LookupMessage(MSI_NAVIGATION_SCROLL), 0);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->AddOption(LookupMessage(MSI_NAVIGATION_USESCROLL), 0);
static_cast<UIComboBox_BmpWnd*>(this->searchType)->Select(g_navigationManager.searchType);
this->RefreshLayout();
}