Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-05

Messages

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Cliff Baeseman
to Shane Miller: OK. I will look into the resize problem. I have to figure it out soon or I'll go nuts. …

I will try to get the project object working tonight. I will have to upgrade my FCL and see if I can read back a int from a
memory stream yet...

Cliff

Earlier message 57 lines
-----Original Message----- From: Shane Miller Sent: Monday, May 03, 1999 2:53 PM To: Subject: Re: RE: [lazarus] Messages OK. I will look into the resize problem. I have to figure it out soon or I'll go nuts. I think the next part that needs to be done is the Project - Open part where we actually open a project, and somewhere a list of files that are involved in this project are loaded into a combobox or something for now. Then the compile button should be setup. I can get it so you can open multiple files. I'll change my theory on this a little bit and get it working. I'll also implememnt a SAVE ALL feature that will be called when the compile is selected. If we get this thing compiling, then we are only steps from something real. We could even do without the Project -Open part of it. As long as we can edit files and compile projects... Shane >>> Cliff Baeseman 05/03 2:37 PM >>> Not that I have been able to find. I built a form when I started doing this stuff and had a button on it and it resized automatically when I wished it not to. Now I cannot get anything to resize. Cliff -----Original Message----- From: Shane Miller Sent: Monday, May 03, 1999 2:19 PM To: Subject: [lazarus] Messages Question: I windows, if you need to tell a control to resize, you simply got the handle for that control and sent a WMSIZE message to it with the sendmessage or similiar procedure. Is there anything in GTK that we can use to send messages to other controls? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Shane Miller

OK. I will look into the resize problem. I have to figure it out soon or I'll go nuts. I think the next part that needs to be done is the Project - Open part where we actually open a project, and somewhere a list of files that are involved in this project are loaded into a combobox or something for now. Then the compile button should be setup. I can get it so you can open multiple files. I'll change my theory on this a little bit and get it working. I'll also implememnt a SAVE ALL feature that will be called when the compile is selected. If we get this thing compiling, then we are only steps from something real.

We could even do without the Project -Open part of it. As long as we can edit files and compile projects...

Shane

>> Cliff Baeseman 05/03 2:37 PM >>>

Not that I have been able to find. I built a form when I started doing this stuff and had a button on it and it resized
automatically when I wished it not to. Now I cannot get anything to resize.

Cliff

Earlier message 22 lines
-----Original Message----- From: Shane Miller Sent: Monday, May 03, 1999 2:19 PM To: Subject: [lazarus] Messages Question: I windows, if you need to tell a control to resize, you simply got the handle for that control and sent a WMSIZE message to it with the sendmessage or similiar procedure. Is there anything in GTK that we can use to send messages to other controls? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Cliff Baeseman
to Shane Miller: Question: I windows, if you need to tell a control to resize, you simply got the handle…

Not that I have been able to find. I built a form when I started doing this stuff and had a button on it and it resized
automatically when I wished it not to. Now I cannot get anything to resize.

Cliff

Earlier message 18 lines
-----Original Message----- From: Shane Miller Sent: Monday, May 03, 1999 2:19 PM To: Subject: [lazarus] Messages Question: I windows, if you need to tell a control to resize, you simply got the handle for that control and sent a WMSIZE message to it with the sendmessage or similiar procedure. Is there anything in GTK that we can use to send messages to other controls? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Shane Miller

Question: I windows, if you need to tell a control to resize, you simply got the handle for that control and sent a WMSIZE message to it with the sendmessage or similiar procedure. Is there anything in GTK that we can use to send messages to other controls?

Shane

Reply by email

Nicolas Aragon
to Shane Miller

Hello,

Question: I windows, if you need to tell a control to resize, you simply got the handle for that control and sent a WMSIZE message to it with the sendmessage or similiar procedure. Is there anything in GTK that we can use to send messages to other controls?

Sometime ago I wrote this:

procedure TGtkControl.Click;
begin
  gtk_signal_emit_by_name( PGtkObject( PWidget ), 'click', [nil] )
end;

But it isn't tested yet. I suppose that [nil] could be replaced by a record with event information.

Another possible way: maybe Xlib window handle is contained in gtk widget struct and then you coul send a Xevent directly.

greetings

Nico

Reply by email