When using keyboard control commands in FullScreen, the beep always occurs.
Example PitchYaw.pb
MacOS: Keyboard beep at FullScreen
MacOS: Keyboard beep at FullScreen
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: MacOS: Keyboard beep at FullScreen
Yes 

My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: MacOS: Keyboard beep at FullScreen
prevent the beep using this : viewtopic.php?p=453973&hilit=keyboard+beep#p453973
precisely, using this code:
precisely, using this code:
Code: Select all
ProcedureC PerformKeyEquivalent(Sender, sel, event)
Static lastEvent
Protected currentevent = event
Protected result = #YES
If currentEvent = lastEvent : ProcedureReturn result : EndIf
lastEvent = currentEvent
; If currentEvent
; Select CocoaMessage(0, currentEvent, "type")
; Case #NSKeyDown
; Debug "KeyDown : keyCode = " + CocoaMessage(0, currentEvent, "keyCode")
; Define Long = CocoaMessage(0, currentEvent, "characters")
; CocoaMessage(@Long, Long, "UTF8String")
; Debug "KeyDown : keyChar = " + Asc(PeekS(Long, -1, #PB_UTF8))
;
; Case #NSKeyUp
; Debug "KeyUp : keyCode = " + CocoaMessage(0, currentEvent, "keyCode")
;
; ; Case #NSFlagsChanged ; SHIFT, CMD, ALT, CTRL, CAPS
; ; Debug "Flags : " + Bin(CocoaMessage(0, currentEvent, "modifierFlags"))
;
; EndSelect
; EndIf
ProcedureReturn #NO
EndProcedure
- skinkairewalker
- Enthusiast
- Posts: 782
- Joined: Fri Dec 04, 2015 9:26 pm
Re: MacOS: Keyboard beep at FullScreen
but that led to another problem...
now operating system shortcuts are activated, for example : CTRL + DOWN or CTRL + UP all ( these 2 commands open all open windows on the desktop )
now operating system shortcuts are activated, for example : CTRL + DOWN or CTRL + UP all ( these 2 commands open all open windows on the desktop )