Search found 58 matches

by ignign0kt
Mon Dec 25, 2017 5:24 am
Forum: Coding Questions
Topic: Start PureBasic? Or even with VB.Net?
Replies: 18
Views: 5807

Re: Start PureBasic? Or even with VB.Net?

C# is the most popular, has the most community support, and is actually marketable. And I think you'll come to get used to and eventually prefer C style syntax ;)
by ignign0kt
Tue Dec 27, 2016 5:07 pm
Forum: Coding Questions
Topic: Can't ResizeGadget to variable width?
Replies: 2
Views: 1017

Re: Can't ResizeGadget to variable width?

:oops: idk why I assumed it was global by default. Thanks
by ignign0kt
Tue Dec 27, 2016 4:17 pm
Forum: Coding Questions
Topic: Can't ResizeGadget to variable width?
Replies: 2
Views: 1017

Can't ResizeGadget to variable width?

I was just trying to see if I could resize a textgadget using a variable width, but I must be missing something here, because it's not working.
What am I not doing right?


Global Window_1

Global Text_0

Enumeration
#Font_0
EndEnumeration

LoadFont(#Font_0,"Arial", 40)

str$ = "TESTING"
strLength ...
by ignign0kt
Sun May 17, 2009 11:29 am
Forum: Coding Questions
Topic: Recording Alt + ? key presses with API hook?
Replies: 4
Views: 1430

Thanks for the reply, that seems to be working.. couple of questions though :P

I don't understand the use of the the bitwise & for the ALTDOWN flag, when I saw LLKHF_ALTDOWN in the MSDN doc I would have never guessed that's how you use it ;\
Also, does this mean I would have to check *p\flags for ...
by ignign0kt
Sun May 17, 2009 2:07 am
Forum: Coding Questions
Topic: Recording Alt + ? key presses with API hook?
Replies: 4
Views: 1430

Sorry I don't see how that helps me in my case with the APIs I'm using
by ignign0kt
Sun May 17, 2009 1:38 am
Forum: Coding Questions
Topic: Recording Alt + ? key presses with API hook?
Replies: 4
Views: 1430

Recording Alt + ? key presses with API hook?

I'm messing around with keyboard hooks, and normal keys catch fine. But I can't figure out how to catch any keys pressed while holding Alt.

Here's what my code looks like:


Structure PKBDLLHOOKSTRUCT
vkCode.l
scanCode.l
flags.l
time.l
dwExtraInfo.l
EndStructure


message.MSG

#VK_ALT = 164 ...
by ignign0kt
Fri May 15, 2009 11:09 pm
Forum: Coding Questions
Topic: Attempting to convert from C
Replies: 8
Views: 1914

Ok I think I have it figure out now.. thanks
by ignign0kt
Fri May 15, 2009 11:00 pm
Forum: Coding Questions
Topic: Attempting to convert from C
Replies: 8
Views: 1914

I guess I don't really understand what that line is doing lol
by ignign0kt
Fri May 15, 2009 9:50 pm
Forum: Coding Questions
Topic: Attempting to convert from C
Replies: 8
Views: 1914

I don't think that's the same thing
by ignign0kt
Thu May 14, 2009 11:53 pm
Forum: Coding Questions
Topic: Attempting to convert from C
Replies: 8
Views: 1914

Attempting to convert from C

I'm messing around with converting some C to PB for the learning experience. But having trouble with something.

p = (PKBDLLHOOKSTRUCT) (lParam)

p is a structure of type PKBDLLHOOKSTRUCT already. From what I understand it is typecasting lParam to type PKBDLLHOOKSTRUCT and assigning the values to ...
by ignign0kt
Wed May 13, 2009 11:24 pm
Forum: General Discussion
Topic: No 'Windows Help' for Windows 7
Replies: 12
Views: 3831

Ugh this sucks... screw this

I'm going to just load up XP on VirtualBox and run PB in there ;\
by ignign0kt
Sat May 09, 2009 11:26 am
Forum: Off Topic
Topic: Programming Logic & Design books?
Replies: 14
Views: 2389

It would be great to have a list of exercises to complete that would gradually increase in skill level, like I would have in school. Because I can't even think of anything simple to make that would even be remotely useful.
That's why I love programming books that have exercises at the end of each ...
by ignign0kt
Fri May 08, 2009 9:33 pm
Forum: General Discussion
Topic: No 'Windows Help' for Windows 7
Replies: 12
Views: 3831

> Microsoft says there won't be a Help viewer until Win7 is RTM.

RTM? o_O ..ready to move? ..read the manual? ..ride tombstick mine?

well, I don't think it's a reason for complaint when there are no installers for every little backward compatibility in a beta ....

Windows 7 isn't in beta ...
by ignign0kt
Fri May 08, 2009 11:27 am
Forum: General Discussion
Topic: No 'Windows Help' for Windows 7
Replies: 12
Views: 3831

ignign0kt wrote:And no, that installer for Vista does not work for Win7. Microsoft says there won't be a Help viewer until Win7 is RTM.