| |
|
|
Rolf Koch | be one bit weitergekommen. prepares time a Button by ROC. the Button one Tooltip zuordnen goes into Subclassmanager activate there Subclass for %hwnd seek whom entry: WM_NOTIFY Anklicken and the following into If request write:
print %notifycode;
Save
launch these erstellte File with of/ one Profan with Manifesto and once without Manifesto.
with Manifesto go The data carryed out. without becomes garnix displayed. whether there the worm bury lying?
Rolf |
|
|
| |
|
|
|
Frank Abbing | Hm, the lying well only on it, the it in the XP-fashion plenty More Notify-Messages gives. Z.B. The whole Hovermessages and like. |
|
|
| |
|
|
|
Rolf Koch | is correct again however kapier I simply not, that nevertheless nothing displayed becomes, if the Tooltip displayed becomes. is still really a Notifysache. The pair are but too persistent *lol* |
|
|
| |
|
|
|
Uwe ''Pascal'' Niemeier | Hello people!
I had yet never Problems with ToolTips, alike whether Manifesto or not. though beget I always only one ToolTip-Control apiece Program, the I then by Message Texts and Handles the Dialogelemente zuordne. might it on it lying?
SeeYou Pascal |
|
|
| |
|
|
|
Rolf Koch | Hi Pascal,
unfortunately know I The Messages not circa this To testing. hears itself but interestingly on. Haste time a couple Message *lol*
I find anyhow a couple Messages not, which one always time use could How z.B. becomes Tooltip straight viewed u.s.w
Rolf |
|
|
| |
|
|
|
RGH | Hello Rolf,
here find You of course not any Tooltip-Messages, The You gladly would have, but at least The, The there's and what's more too The Notify-Codes:
[...]
Yes, I miss here too some, I would like. I befürchte but, itself with Wish on Bill Gates To turn, isn't very erfolgsversprechend ...
Pascals idea could functions, there here The Nachrichtenwege differently are, as with the method, for each Control one Tooltip-Control to create. with the XProfan-Toolbar becomes the Tooltip-Control too the Completed: Second not each individual Button zugeordnet. here there too with Manifesto no Problems.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/09/06 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | Hello people!
here two Examples (with the whom Icons works first ex XP/SP2, mean I) CompileMarkSeparation!
window 50,50-200,200
$H Messages.ph
$H Windows.ph
$H commctrl.ph
declare Tool&,Tool#
struct TOOL=Size&,Flags&,hwnd&,ID&,rect#(16),hinst&,Text&,Text$(100)
dim Tool#,TOOL
clear Tool#
Tool#.Size&=40
Tool#.Flags&=17
Tool#.Text&=Tool#+40
Tool&=control("tooltips_class32","",~WS_POPUP,0,0,0,0,%hwnd,0,%hinstance)
declare Button1&,Button2&
Button1&=createbutton(%hwnd,"Test1",20,50,70,24)
Button2&=createbutton(%hwnd,"Test1",20,100,70,24)
Tool#.Text$="Test"
Tool#.ID& =Button1&
sendmessage(Tool&,~TTM_ADDTOOL,0,Tool#)
Tool#.Text$="Nochn Test"
Tool#.ID& =Button2&
sendmessage(Tool&,~TTM_ADDTOOL,0,Tool#)
dispose Tool#
setfocus(%hwnd)
waitkey
CompileMarkSeparationwindow 50,50-200,200
$H Messages.ph
$H windows.ph
$H commctrl.ph
declare Tool&,Tool#
struct TOOL=Size&,Flags&,hwnd&,ID&,rect#(16),hinst&,Text&,Text$(100)
dim Tool#,TOOL
clear Tool#
Tool#.Size&=40
Tool#.Flags&=17
Tool#.Text&=Tool#+40
Tool&=control("tooltips_class32","",~WS_POPUP+$40,0,0,0,0,%hwnd,0,0)--TTS_BALLOON = $40
sendmessage(Tool&,1056,~LoadIconA(%hinstance,"A"),"Info")-------------TTM_SETTITLE = 1056
declare Button1&,Button2&
Button1&=createbutton(%hwnd,"Test1",20,50,70,24)
Button2&=createbutton(%hwnd,"Test1",20,100,70,24)
Tool#.Text$="Test"
Tool#.ID& =Button1&
sendmessage(Tool&,~TTM_ADDTOOL,0,Tool#)
Tool#.Text$="Nochn Test"
Tool#.ID& =Button2&
sendmessage(Tool&,~TTM_ADDTOOL,0,Tool#)
dispose Tool#
setfocus(%hwnd)
waitkey
HTH Pascal
PS: @ iF: I knows, I Have somewhere not attention, but... can The automatic Formatierung the code-boxing somehow turn off? I erkenne my Codes not at all again... |
|
|
| |
|
|
|
| [quote:00f8815897]can The automatic Formatierung the code-boxing somehow turn off?[/quote:00f8815897]How I see have You already found out the one at the beginning stehendes exclamation points whom Codeformer abschaltet. |
|
|
| |
|
|
|
RGH | [quote:0b4341775f=iF][quote:0b4341775f]can The automatic Formatierung the code-boxing somehow turn off?[/quote:0b4341775f]How I see have You already found out the one at the beginning stehendes exclamation points whom Codeformer abschaltet. [/quote:0b4341775f] Sorry, but I was so spare the exclamation points already hinzuzufügen. with the explanation desselben came You me then before. (by me coming one Meeting between.)
Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/09/06 ▲ |
|
|
|
|
Frank Abbing | calm, finally ne Solution found. class Pascal! under XP HE shows example 2 no Icons and it happens over ands over again, that The Tooltips flackern (installing, ex, and again on).
become You the now into next Subscriptions-Version so install, Roland? Text settle by Message? |
|
|
| |
|
|
|
Rolf Koch | @Roland Jo, The knew I - but somehow Have I the feeling there are so little and not too interesting things
@Pascal Jo the has what. can of course confirm what Frank says, but now time with my hints vergleichen, Why it so is. Kleinigkeit is yet there. If one clicked has, so remaining the hint still To to one Focuswechsel disappeared. but so could one Yes life. |
|
|
| |
|
|
|
RGH | [quote:6219b1c303=Frank Abbing]become You the now into next Subscriptions-Version so install, Roland? Text settle by Message?[/quote:6219b1c303] the make I but already always in XProfan exakt so, How Pascal. The only Difference is, that Pascal one Tooltip-Control uses and this a Control then any (ok, here are it only two) Tooltips with TTM_ADDTOOL hinzufügt. In XProfan becomes for each Tooltip one Control created and this then by Tooltip with TTM_ADDTOOL added. The thought was, that apiece different Tooltips on Controls unterschiedlicher dialogs and Window come along can, means accordingly different Parentwindows having. it shining but to some try objectively so To his, that it quite alike is, what with produce the Tooltipcontrols as Parentwindow indicated becomes. (set time in Pascals Program instead of %hWnd a 0 one: it works still. make a further dialog on or one further Window with Buttons and Tooltips. It's all right still. set the Gandle the Dialoges or Fensters one: too in the Mainwindow functions it still ... short: the can in the doing for XProfan 10 hoping.) after I me with my woman a or two follow ENTERPRISE of DVD reingezogen have, I will the time weiterverfolgen and the Result here post!
To then Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/09/06 ▲ |
|
|
|