resources files of lazarus lazarus / 13-General ---------------------------------------------------------------------- silviogs · 2006-06-01 20:26 Hi friends where find the resources files of lazarus. I am needing find MB_ICONQUESTION, MB_ICONINFORMATION, MB_ICONHAND. Help me! Respectfully Silvio Guedes ---------------------------------------------------------------------- matthijs · 2006-06-02 09:37 Lazarus has a very nice tool. Goto Search -> Find in files, and let this tool do the searching for "MB_ICON", without quotes. The result will be that this constants are defined in lcltype.pp ---------------------------------------------------------------------- silviogs · 2006-06-02 15:15 Hi friends I am needing to place bitmap in messagedialog that I developed, those bitmap that they appear in messagedlg, messagebox (MB_ICONQUESTION, MB_ICONINFORMATION, MB_ICONHAND). Routine: with CreateMessageDialog(Msg,AType,AButtons, TypeButton ) do       try          Position := poScreenCenter;          BorderIcons := [];          Caption := Titulo;          IconID := IconIDs[AType];          if Icone <> '' then begin             BmpTemp := TBitmap.Create; //            Bmp := TImage(FindComponent('Image')).Picture.Bitmap; //            BmpTemp.LoadFromResourceName(HInstance,IDI_QUESTION);            BmpTemp.Handle :=             with Bmp do begin                Width := BmpTemp.Width;                Height := BmpTemp.Height;                Canvas.Brush.Color := Color;                Canvas.CopyRect(Rect(0, 0, Width, Height),BmpTemp.Canvas,Rect(0, 0, BmpTemp.Width, BmpTemp.Height));             end;             BmpTemp.Free;          end;          HelpContext := HelpCtx;          for i := 0 to ComponentCount - 1 do             if (Components is TButton) and (TButton(Components).ModalResult = DefButton) then                ActiveControl := TButton(Components);             Result := ShowModal;       finally          Free;       end; unhappyly it is not appearing in form that I developed, I could creates an archive lrs but it would like to aproveritar what already it has Thank you very much Silvio Guedes