FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 514 matches
Forum Index
Author Message
  Topic: Which line textbox.selectedText() is on
Chris Miller

Replies: 2
Views: 7189

PostForum: DFL   Posted: Sun Oct 31, 2010 8:24 pm   Subject: Re: Which line textbox.selectedText() is on
Here's how I get the line the user clicked in a text box.
auto pt = myTextBox.pointToClient(Cursor.position);
auto charidx = myTextBox.getCharIndexFromPosition(pt);
auto line0 ...
  Topic: Double buffer graphics
Chris Miller

Replies: 2
Views: 7071

PostForum: DFL   Posted: Sun Oct 31, 2010 8:17 pm   Subject: Re: Double buffer graphics
Double-buffering isn't the default. There are some [url=http://wiki.dprogramming.com/Dfl/AddOns]DFL addons that may be helpful, such as DrawingArea and GraphicsBuffer. GraphicsBuffer provides control/ ...
  Topic: Problem with DFL
Chris Miller

Replies: 2
Views: 6915

PostForum: DFL   Posted: Sun Oct 31, 2010 8:12 pm   Subject: Re: Problem with DFL
Are you calling makelib.bat directly? It doesn't include internal/_stcwindows.d and _stdcwindows.obj if the environment variable 'dlib' isn't set to Tango. When using dfl.exe, this variable is set aut ...
  Topic: Build DFL with CMake
Chris Miller

Replies: 2
Views: 7234

PostForum: DFL   Posted: Tue Jul 27, 2010 7:50 pm   Subject: Re: Build DFL with CMake
I can't download it, I don't have IE.
  Topic: Rotated Text, Save Bitmap
Chris Miller

Replies: 5
Views: 9495

PostForum: DFL   Posted: Tue Jul 27, 2010 7:47 pm   Subject: Rotated Text, Save Bitmap
How about this, I added an this(ref LogFont lf, float emSize, FontStyle style, GraphicsUnit unit)so you could use this to keep RFont in your project and use the new Font constructor.
If it's ...
  Topic: Control Events
Chris Miller

Replies: 1
Views: 6426

PostForum: DFL   Posted: Fri Jul 16, 2010 1:58 pm   Subject: Re: Control Events
Events don't bubble up to the parent, but here's a template you can use: [url=http://paste.dprogramming.com/dph7zk2m]DFL Control input events propagate to parent - notice line 100
  Topic: PictureBox.location: Broken or being used wrong?
Chris Miller

Replies: 1
Views: 6313

PostForum: DFL   Posted: Thu Jul 08, 2010 10:53 pm   Subject: Re: PictureBox.location: Broken or being used wrong?
Since you docked it, it's going to ignore your manual bounds and fill the dock area. You can either handle the [url=http://wiki.dprogramming.com/DflDoc/Control-Control-layout]layout yourself without [ ...
  Topic: Launching Multiple Windows
Chris Miller

Replies: 1
Views: 6350

PostForum: DFL   Posted: Thu Jul 08, 2010 10:46 pm   Subject: Re: Launching Multiple Windows
You can call void main()
{
(new Form2()).show();
Application.run(new Form1());
}

but the one passed to Application.run will sti ...
  Topic: Rotated Text, Save Bitmap
Chris Miller

Replies: 5
Views: 9495

PostForum: DFL   Posted: Thu Jul 08, 2010 10:37 pm   Subject: Re: Rotated Text, Save Bitmap
To rotate text, you could write the text normally into a temporary bitmap, and then rotate the pixels as you copy them to where you want it.

DFL doesn't directly have a way to get the pixel data of ...
  Topic: exe file size
Chris Miller

Replies: 6
Views: 12457

PostForum: DFL   Posted: Thu Jun 03, 2010 1:05 pm   Subject: Re: exe file size
It seems like phobos (std) has been growing quite a lot, especially in D2. Tango seems to be winning in this department now.
  Topic: c#/c++ bmp.LockBits - like function for DFL
Chris Miller

Replies: 3
Views: 8272

PostForum: DFL   Posted: Thu Jun 03, 2010 12:57 pm   Subject: c#/c++ bmp.LockBits - like function for DFL
There's also a addons at http://wiki.dprogramming.com/Dfl/AddOns called DrawingArea and GraphicsBuffer
  Topic: New Update Schedule
Chris Miller

Replies: 10
Views: 31957

PostForum: DFL   Posted: Mon May 17, 2010 12:13 am   Subject: New Snapshot dfl-20100516
A new snapshot with an installer is up:
http://wiki.dprogramming.com/Dfl/Snapshots

This includes support for Tango 0.99.9 but not including [url=http://wiki.dprogramming.com/DflDoc/Socket]dfl.sock ...
  Topic: New Update Schedule
Chris Miller

Replies: 10
Views: 31957

PostForum: DFL   Posted: Sun May 09, 2010 2:01 am   Subject: New Update Schedule
Hi sandford, I appreciate your help. I can't directly accept changes only for D2 because it might not be compatible with D1, but I do look to it when making my changes, so it does help. Thanks.

As ...
  Topic: I supppose to make DFL apps with XML for designing widgets
Chris Miller

Replies: 3
Views: 7764

PostForum: DFL   Posted: Sun May 09, 2010 1:40 am   Subject: Re: DFL apps with XML for designing widgets
This is looking cool. Where is bud_design?
  Topic: New Update Schedule
Chris Miller

Replies: 10
Views: 31957

PostForum: DFL   Posted: Wed Apr 21, 2010 1:22 pm   Subject: New Update Schedule
Hello D world. Starting in May DFL will have monthly maintenance releases. This will include updates for new compiler and Tango releases, and bug fixes.

First up in May will probably include the fo ...
 
Page 1 of 35 Goto page 1, 2, 3 ... 33, 34, 35  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group