How do I find out the block size of a hdd?
Or is it called sector size? anyways the smallest physical size that is allocated for a file on the disk.
Search found 35 matches
- Sun Aug 28, 2011 7:27 pm
- Forum: Coding Questions
- Topic: Block/sector size on a hdd
- Replies: 1
- Views: 724
- Sun Jul 03, 2011 8:36 pm
- Forum: Mac OSX
- Topic: Shortcut images/Apple icons in MenuItem
- Replies: 0
- Views: 1372
Shortcut images/Apple icons in MenuItem
How do I add standard apple icons such as backspace, cmd, alt, function keys, etc. as the shortcut images in a MenuItem?
- Sun Jul 03, 2011 6:41 pm
- Forum: Mac OSX
- Topic: MenuItem and Shortcuts
- Replies: 5
- Views: 2502
Re: MenuItem and Shortcuts
This actually produces an unwanted behaviour when coding and should be treated as a bug.
I have in my menu two items that uses the same shortcut key, simply because I want to be able to toggle fast between them. Obviously, as some of you probably dying to point out I could have only one item and ...
I have in my menu two items that uses the same shortcut key, simply because I want to be able to toggle fast between them. Obviously, as some of you probably dying to point out I could have only one item and ...
- Tue May 17, 2011 9:28 am
- Forum: Mac OSX
- Topic: Best practice on menues?
- Replies: 3
- Views: 1798
Re: Best practice on menues?
You can only have one set of menus on the Mac and it is associated with one open window but all windows seem to be able to access this menu set. MenuShortcuts don't seem to be active when you're not in the window that created them so just make the menu shortcuts and see how it goes. Just be sure ...
- Tue May 17, 2011 9:20 am
- Forum: Mac OSX
- Topic: Fonts in 4.60B3
- Replies: 3
- Views: 1749
Re: Fonts in 4.60B3
Thanks. It look a lot better now 

- Fri May 13, 2011 5:08 am
- Forum: Mac OSX
- Topic: Fonts in 4.60B3
- Replies: 3
- Views: 1749
Fonts in 4.60B3
The fonts are all messed up in 4.60B3, which one should I choose to have the same as in 4.51?
- Fri May 13, 2011 5:06 am
- Forum: Mac OSX
- Topic: Best practice on menues?
- Replies: 3
- Views: 1798
Best practice on menues?
Since it is not possible to run multiple instances of programs on the mac (as far as I know) I have to open several windows instead.
I would like to have the same menu on all open windows, and I want a standard "Window" menu with a list of all open windows. Only the active window should have ...
I would like to have the same menu on all open windows, and I want a standard "Window" menu with a list of all open windows. Only the active window should have ...
- Fri May 13, 2011 4:49 am
- Forum: Mac OSX
- Topic: Create threadsafe executable
- Replies: 3
- Views: 3000
Re: Create threadsafe executable
I run threads in some applications. I have more or less the same problem. Random crashes. Perhaps the mutex system in PB is not properly adapted for the mac? (wild speculation).
But since it is not possible to debug threads on the mac version I have given up trying to get my code stable.
But since it is not possible to debug threads on the mac version I have given up trying to get my code stable.
- Tue Apr 12, 2011 5:52 am
- Forum: Coding Questions
- Topic: Env var for input file
- Replies: 7
- Views: 1202
Re: Env var for input file
No, it does not. Only on win (and linux?).Trond wrote:Try this, it should show you all the parameters passed to your program. When you do an "open with" and select your program, one of them should be the filename.Code: Select all
Repeat P.s = ProgramParameter() Debug P Until P = ""
- Tue Apr 12, 2011 5:51 am
- Forum: Coding Questions
- Topic: Env var for input file
- Replies: 7
- Views: 1202
Re: Env var for input file
Thank you freakfreak wrote:I think you are looking for this (OSX specific):
http://www.purebasic.fr/english/viewtop ... 19&t=34231

- Thu Mar 03, 2011 3:22 pm
- Forum: Mac OSX
- Topic: How do I use the MacBook's touchpad?
- Replies: 1
- Views: 1417
Re: How do I use the MacBook's touchpad?
...make use of the touchpad it probably should have said in the title, even I know how to use it 

- Thu Mar 03, 2011 3:18 pm
- Forum: Mac OSX
- Topic: How do I use the MacBook's touchpad?
- Replies: 1
- Views: 1417
How do I use the MacBook's touchpad?
For two-finger scrolling, pinch zoom, etc.
Do I have to read vectors from the touchpad and construct my own functions or are there pre-constructed functions I can use?
any APIs?
support in PB?
Do I have to read vectors from the touchpad and construct my own functions or are there pre-constructed functions I can use?
any APIs?
support in PB?
- Thu Mar 03, 2011 3:14 pm
- Forum: Mac OSX
- Topic: Run multiple instances of an app
- Replies: 2
- Views: 1596
Re: Run multiple instances of an app
aha, this could be interesting, a new thread per window then.
thanks freak
thanks freak
- Tue Mar 01, 2011 8:09 am
- Forum: Coding Questions
- Topic: Env var for input file
- Replies: 7
- Views: 1202
Re: Env var for input file
ProgramParameter() did not return anything useful either. Only for console apps?
- Tue Mar 01, 2011 6:35 am
- Forum: The PureBasic Editor
- Topic: Thread(safe) debugging problem
- Replies: 2
- Views: 2340
Re: Thread(safe) debugging problem
I have not found any related posts in the bug section, better move it there then. Is that even possible without being admin? Can't find any knob or switch for that.