C'est quoi ce bordel !!
the colorer
Bon Svp recuperez colorer ici
et testez le pour voir , du coup je suis aveugle !!!
je sais pas ce qui bloc chez moi !!! , c'est pas le clavier , car meme
lorsque j'utilise les codes ascii avec purebasic, sur les forum ça veux rien savoir !!
pouvez vous essayer de colorer un code avec colorer
et me montrer le resultat please ?
et testez le pour voir , du coup je suis aveugle !!!
je sais pas ce qui bloc chez moi !!! , c'est pas le clavier , car meme
lorsque j'utilise les codes ascii avec purebasic, sur les forum ça veux rien savoir !!
pouvez vous essayer de colorer un code avec colorer
et me montrer le resultat please ?
Dernière modification par Backup le sam. 14/juin/2008 11:21, modifié 3 fois.
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
End Select
Procedure Return Resultat
End Procedure
hwnd = OpenWindow (0, 100, 100, 250, 100, #PB_Window_SystemMenu | #PB_Window_ScreenCentered , "Double-cliquez sur la fenêtre")
SetClassLong_(hwnd, #GCL_STYLE , GetClassLong_(hwnd, #GCL_STYLE )| #CS_DBLCLKS )
SetWindowCallback (@WinCallBack())
Repeat
Select WindowEvent ()
Case #PB_Event_CloseWindow : Quit = 1
End Select
Until Quit = 1
End
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
End Select
Procedure Return Resultat
End Procedure
hwnd = OpenWindow (0, 100, 100, 250, 100, #PB_Window_SystemMenu | #PB_Window_ScreenCentered , "Double-cliquez sur la fenêtre")
;SetClassLong_(hwnd, #GCL_STYLE , GetClassLong_(hwnd, #GCL_STYLE )| #CS_DBLCLKS )
SetWindowCallback (@WinCallBack())
Repeat
Select WindowEvent ()
Case #PB_Event_CloseWindow : Quit = 1
End Select
Until Quit = 1
End
Ben oui, il est pas mis en forme pour moi non plus, et pourtant, je suis sous IE.
C'est bizarre, parce que le navigateur, c'est une chose, le forum, c'est autre chose!
Que le navigateur n'affiche pas certains trucs, je veux bien, mais le forum, quand il a ses balises, il crée toujours le code de la même façon!
Enfin, d'après moi, ça doit être comme ça
C'est bizarre, parce que le navigateur, c'est une chose, le forum, c'est autre chose!
Que le navigateur n'affiche pas certains trucs, je veux bien, mais le forum, quand il a ses balises, il crée toujours le code de la même façon!
Enfin, d'après moi, ça doit être comme ça
oui ben tien je suis passé sous IE
regarde ce code est formaté ! (pas tout a fait je bosse dessus !
)
regarde ce code est formaté ! (pas tout a fait je bosse dessus !
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
EndSelect
Procedure Return Resultat
color=blue] EndProcedure [/color]
ça y est ça Marche !!
le code avant Dobro
Le code apres Dobro
vous pouvez le telecharger ici
le code avant Dobro
Code : Tout sélectionner
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
;Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
;Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
EndSelect
ProcedureReturn Resultat
EndProcedure
hwnd = OpenWindow (0, 100, 100, 250, 100, #PB_Window_SystemMenu | #PB_Window_ScreenCentered , "Double-cliquez sur la fenêtre")
;SetClassLong_(hwnd, #GCL_STYLE , GetClassLong_(hwnd, #GCL_STYLE )| #CS_DBLCLKS )
SetWindowCallback (@WinCallBack())
Repeat
Select WindowEvent ()
Case #PB_Event_CloseWindow : Quit = 1
EndSelect
Until Quit = 1
End
Le code apres Dobro
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
; Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
; Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
EndSelect
Procedure Return Resultat
EndProcedure
hhwnd = OpenWindow (0, 100, 100, 250, 100, #PB_Window_SystemMenu | #PB_Window_ScreenCentered , "Double-cliquez sur la fenêtre")
;SetClassLong_(hwnd, #GCL_STYLE , GetClassLong_(hwnd, #GCL_STYLE )| #CS_DBLCLKS )
SSetWindowCallback (@WinCallBack())
Repeat
Select WindowEvent ()
Case #PB_Event_CloseWindow : Quit = 1
EndSelect
Until Quit = 1
End
vous pouvez le telecharger ici
Dernière modification par Backup le sam. 14/juin/2008 11:22, modifié 1 fois.
Merci pour l'info !
c'est corrigé !
c'etait une erreur de boucle !!
certaines commencaient a 0 d'autre a 1 bref le joyeux bazard !
voici un exemple
c'est corrigé !
c'etait une erreur de boucle !!
certaines commencaient a 0 d'autre a 1 bref le joyeux bazard !
voici un exemple
Procedure WinCallBack(WinID.l, message.l, wParam.l, lParam.l)
Resultat.l = #PB_ProcessPureBasicEvents
Select message
Case #WM_LBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Gauche")
; Case #WM_RBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Droit")
; Case #WM_MBUTTONDBLCLK
SetWindowText_(WinID,"Double clic Milieu")
EndSelect
ProcedureReturn Resultat
EndProcedure
hwnd = OpenWindow (0, 100, 100, 250, 100, #PB_Window_SystemMenu | #PB_Window_ScreenCentered , "Double-cliquez sur la fenêtre")
;SetClassLong_(hwnd, #GCL_STYLE , GetClassLong_(hwnd, #GCL_STYLE )| #CS_DBLCLKS )
SetWindowCallback (@WinCallBack())
Repeat
Select WindowEvent ()
Case #PB_Event_CloseWindow : Quit = 1
EndSelect
Until Quit = 1
End