roozbeh gholizadeh wrote:
On Wed, 19 Apr 2006 12:54:50 +0330, Micha Nelissen <[EMAIL PROTECTED]> wrote:

roozbeh gholizadeh wrote:

On Wed, 19 Apr 2006 12:37:36 +0330, roozbeh gholizadeh <[EMAIL PROTECTED]> wrote:

This patch fixes some bugs,button captions are working now,tstatictext is
also working!

 well  saw other peaple pasted patch in text message so here it is again


As attachment is preferred, because now long lines will be wrapped, but you specified in your first mail (the "mime type"):

Content-Type: application/octet-stream; name=mypatch.patch

That's why we/you can't read it in the message and need to save it first. Use text/plain for plain text files.

I don't mind if it is application/octet-stream or tetx/plain. I've to save it anyhow as long as it is an attachment.

Nobody liked my patch?why it is'nt applied?
can i work further on sources?and when it get applied isnt it a problem with making patches? i guess if i make patches it will again contain these changes and new ones...

If you tell us that they are combined, it is ok.

so should i wait for this to get applied or not?

I've had a look and I've 2 questions.

     WM_CLOSE:
     Begin
-      if (Window = TWinCEWidgetSet(WidgetSet).AppHandle) and
-        (Application.MainForm <> nil) then
+//      if (Window = TWinCEWidgetSet(WidgetSet).AppHandle) and
+//        (Application.MainForm <> nil) then
       begin
+        Windows.SendMessage(Application.MainForm.Handle, WM_CLOSE, 0, 0);

Why do you resend the WM_Close to the application ? It just recived one.
And why if the LM_closequery commented out ?

+//roozbeh:this thing belong to windows unit...someone should move them there!
+function GetTextExtentPoint(DC: HDC; Str: PWideChar; Count: Integer; var Size: 
TSize): BOOL;
+function GetTextExtentPoint32(DC: HDC; Str: PWideChar; Count: Integer; var 
Size: TSize): BOOL;

Why add those and not call Windows.GetTextExtentExPoint ?

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to