mIRC Home    About    Download    Register    News    Help

Print Thread
#6126 11/01/03 05:15 PM
Joined: Dec 2002
Posts: 18
P
pod2oo5 Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Dec 2002
Posts: 18
i need a progress bar & back forward stop refresh useing NHTMLn.dll
and a status bar... i only know how to do the browser...i have read the manual over and over...can anyone please help me???

#6127 12/01/03 04:13 AM
Joined: Dec 2002
Posts: 87
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 87
The back, forward stop and refresh are ALL documented for nHTMLn. As for the progressbar, I would suggest two solutions:

1.) Wait for mIRC to support it.
2.) Create your own by using 10-50 icon sets on a dialog. Then, increase them based on the page load percentages. It can be done, I've done it myself.


-Zmodem
#6128 12/01/03 04:26 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Are you sure you have the latest reference of nhtmln.dll? Because here it states clearly how to use the back/forward/etc funtions. it can be downloaded here.

Here's an example:
Code:
dialog test {
  size -1 -1 400 400
  box "test", 1, 5 5 390 390
}
on *:dialog:test:init:0:{
  var %hwnd = $dll($nhtmln,find,test)
  dll $nhtmln attach %hwnd
  dll $nhtmln navigate www.mirc.com
  .timer 1 5 dll $nhtmln refresh 0
}

Open the dialog, let lt to load, and after 5 seconds the page will be refreshed.

The 0 parameter after the word 'refresh' is ignored by the dll, so you can put there whatever you want. instead of 'refresh' you can put 'back', 'forward', 'stop', 'search' or 'home'.


Link Copied to Clipboard