Decompile fn_17416 (CWebBrowser::CreateAddressBar)
Batch #14571 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_17416 CWebBrowser::CreateAddressBar: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, secret, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
9a0117b469
commit
dbcd901554
1 changed files with 4 additions and 2 deletions
|
|
@ -15,8 +15,10 @@ bool CWebBrowser::CreateAddressBar(int width, int requestedHeight) {
|
|||
return false;
|
||||
}
|
||||
|
||||
REBARINFO bar{};
|
||||
REBARINFO bar;
|
||||
bar.cbSize = sizeof(bar);
|
||||
bar.fMask = 0;
|
||||
bar.himl = nullptr;
|
||||
if (!SendMessageA(this->rebar, RB_SETBARINFO, 0, reinterpret_cast<LPARAM>(&bar))) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -26,7 +28,7 @@ bool CWebBrowser::CreateAddressBar(int width, int requestedHeight) {
|
|||
nullptr
|
||||
);
|
||||
|
||||
REBARBANDINFOA band{};
|
||||
REBARBANDINFOA band;
|
||||
band.cbSize = sizeof(band);
|
||||
band.fMask = RBBIM_STYLE | RBBIM_CHILD | RBBIM_CHILDSIZE | RBBIM_SIZE | RBBIM_BACKGROUND;
|
||||
band.fStyle = RBBS_CHILDEDGE | RBBS_FIXEDBMP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue