Solved

OwnerDrawPageHeader Event

Posted on 2002-05-27
2
194 Views
Last Modified: 2007-12-19
can anyone give an example of using the OwnerDrawPageHeader Event of the componentOne trueDBgrid control ?


 
0
Comment
Question by:pierrecampe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Author Comment

by:pierrecampe
ID: 7037858
OK i have found it:
Private Sub TDBGrid1_OwnerDrawPageHeader(ByVal hDC As Long, ByVal Page As Long, ByVal Pages As Long, ByVal Group As Long, ByVal Groups As Long, ByVal Subpage As Long, ByVal Subpages As Long, ByVal Left As Integer, ByVal Top As Integer, ByVal Right As Integer, ByVal Bottom As Integer)
    Dim a As Long
    Dim r As RECT
    Dim b$
    r.Left = Left
    r.Top = Top
    r.Right = Right
    r.Bottom = Bottom
    b$ = "erzerzerez hgjhjhgjhxcgjhxcgjhg dgdfgdfg dfdf dfg dfg dfg aaa bbb ccc"
    a = DrawText(hDC, b$, Len(b$), r, DT_WORDBREAK)
End Sub

i'll reduce this questions points to 0 and move it to the paq
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 7037894
Per request, points refunded and question closed.

Netminder
CS Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question