Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=slayer] I was looking at this C++ file [url=http://kmeleon.cvs.sourceforge.net/viewvc/kmeleon/k-meleon/macros/macros.cpp?revision=1.89.2.2&view=markup]macros.cpp[/url] [code] case UWM_UPDATEBUSYSTATE: 3384 { 3385 if (wParam == 0) { 3386 int index = FindMacro("OnLoad"); 3387 if (index != NOTFOUND) 3388 ExecuteMacro(hWnd, index); 3389 } 3390 } [/code]to see how the OnLoad Event works. I don't understand much of C++, so I did a search, and I found this [url=http://kmeleon.blogspot.com/2005_12_01_archive.html]KMeleonCCF[/url]. [quote]UWM_UPDATEBUSYSTATE message is send only when loading a page is finished. In K-MeleonSM 1.0 it's also send when loading of a page started with wParam = 1.[/quote]So, can we extend the IF condition to something like this? [code] if (wParam == 0) && (wParam == 1) { [/code]The idea would be to let the OnLoad Event to catch when a page starts loading too. Is this correct?[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development