Search found 61 matches

by DARKGirl
Sat Jun 16, 2007 6:40 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Blah, that is a bit too confusing for me, I think I will just keep it simple and require the user to pass the window they want it to be added to.

My second question, is that how do I throw a compiler exception when the user tries to create a gadget with an existing gadget ID? Sure I can scratch ...
by DARKGirl
Sat Jun 16, 2007 4:29 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

ok, I have some good news, the more and more I work on this project, the more and more I understand it. I would like this control to work with many of the existing PB functions, as I have said before.

How do I get it to work with CreateGadgetList()? I assume this sets some sort of variable for the ...
by DARKGirl
Fri Jun 15, 2007 2:47 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Hey well thats cool. My goal is to have my control mimic the .Net control.
by DARKGirl
Thu Jun 14, 2007 5:19 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

here's what I have so far:



Structure General
hwnd.l
GadgetID.l
Positon.l
PropertyName.s
ToolTip.s
state.b ;Is this field enabled or Disabled?
EndStructure

Structure TextField
Common.General
String.s
type.l ;Theres Numerical, General, Password
EndStructure

Structure CheckBoxField ...
by DARKGirl
Wed Jun 13, 2007 6:17 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

omg I fixed my own code!


r_hyde: huh, I didnt even know you posted a comment. I have managed to successfully register my very own class and create a window and attach it to a parent window. I gave it a general #WS_EX_Clientedge so I know theres something there
by DARKGirl
Wed Jun 13, 2007 12:44 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Oh I see. But IRC works with dialup!


Does anyone else have any help they could provide? Look at my example, is that done right?
by DARKGirl
Tue Jun 12, 2007 3:07 pm
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

actually thats not a bad idea since a container doesnt really do anything except group other controls together...hmm

I still don't know where to begin though. My attempts of registering a window class have been moot


edit: grr Srod come in the PB IRC room so I can chat with you :-P
by DARKGirl
Tue Jun 12, 2007 2:34 pm
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Haha, I am going to subclass items on my custom control when need be. I just don't want to subclass anything on an existing control, because my control is going to have some special functionality that I couldn't implement on a listicongadget anyway.
by DARKGirl
Tue Jun 12, 2007 1:25 pm
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Srod: Yes, I really don't want to use anything from the .NET library, so I trashed that idea about three hours ago. I do not want to use any common controls as a foundation as I think thats a bit tacky like I said before. I rather start from scratch. I was reading on MSDN and it doesn't really go ...
by DARKGirl
Tue Jun 12, 2007 11:51 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

I just received some new information from Rings. He says that that control that is in the image example is part of the .net interface. So I ask him if it is possible to use .net controls in PB, he says it is possible. Then, Dige tells me that f34ak created a framework to init com objects in PB. So I ...
by DARKGirl
Tue Jun 12, 2007 7:05 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Localmotion34: Thank you for your post and your help, but thats what I was trying to avoid; wading through other people's code that I can't even begin to understand. I tried reading the code that you posted, and I don't know whats happening. The arrays, structures, and variables are way too obscure ...
by DARKGirl
Tue Jun 12, 2007 2:48 am
Forum: Coding Questions
Topic: Creating a custom control from scratch
Replies: 32
Views: 9740

Creating a custom control from scratch

Ok the time has come for me to attempt to make a custom control because I really need a specialised grid-gadget. I have looked at all the examples of grid gadgets in the forums, and they aren't what I need.

My goal is to make it look and function similar to this.

http://i195.photobucket.com ...
by DARKGirl
Thu May 31, 2007 10:09 pm
Forum: Coding Questions
Topic: Stumped again...Easy file packager process?
Replies: 12
Views: 2555

using a temp folder is exactly what I am trying to avoid doing. Do cab files offer what I am looking for?
by DARKGirl
Thu May 31, 2007 9:17 pm
Forum: Coding Questions
Topic: Stumped again...Easy file packager process?
Replies: 12
Views: 2555

Yes I know I sound totally confusing, maybe I can give you an example of how I envision what sort of pack file I am looking for:

[Beginning of Pack File]
Pack File Header.pref
World1.pref
World2.pref
World3.pref
1-1.pref
1-2.pref
1-3.pref
1-4.pref
1-5.pref
2-1.pref
2-2.pref
2-3.pref
2-4.pref
2-5 ...
by DARKGirl
Thu May 31, 2007 11:13 am
Forum: Coding Questions
Topic: Stumped again...Easy file packager process?
Replies: 12
Views: 2555

lol what are you talking about? How would that resolve my issue? Do you remember that oooolllld application called packager? Do you think that would work?