|
by: Peter |
last post by:
I want to draw some lines on a widget.
This works ok, but when I want to redraw, the old lines are still there.
How do I clear or refresh the widget, so I can draw a new set of lines?
Code snip below.
TIA
Peter
|
by: PHH |
last post by:
Help me, please,
When I redraw a ListviewItem in Listview (redraw items with icon and text
columms).
I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish
and run program, when I run program I choose first line (line with index =
0) but this line is not actived (draw border over that), after I click to
another control (ex: other Listview, button ...) then this line is redrew
border around. Only first line (first...
|
by: WHITETIGER |
last post by:
Help me, please,
When I redraw a ListviewItem in Listview (redraw items with icon and text
columms).
I used SetStyle(ControlStyle.UserPaint, true) function. And I redraw finish
and run program, when I run program I choose first line (line with index =
0) but this line is not actived (draw border over that), after I click to
another control (ex: other Listview, button ...) then this line is redrew
border around. Only first line (first...
|
by: ch424 |
last post by:
Hi,
Does anybody know the fastest way to trigger a DrawingArea redaw in
pygtk? At the moment, I'm using a bit of a hack:
def redraw(self):
self.area.hide()
self.area.show()
Is there a better way to trigger a redraw? This causes flickering when
|
by: kiplring |
last post by:
I wrote a program which draw a dancer at cornor of desktop. ( I
Accessed through hDC)
But It has a problem. I remains all trait at the desktop until I
invoke any Redraw( Refresh) action - click, or drag.
Is there any way invoke Redraw or Refresh a region of desktop? It
should refresh all the window at the region. ( ex) explorer window.)
Thanks.
|
|
by: CroDude |
last post by:
Hi all!
I've made a simple control derived from a panel class which draws gradient
in a overrided OnPaintBackground event.
Well, I know that I need to redraw control when it's resized by overriding
OnResize event, but
how would I know when to redraw if, let's say, user drags some form over it
or some other action that messes display of this control.
I'm stuck here ... what to do?
|
by: diogoko |
last post by:
I have some code like:
try {
someButton.disabled = true;
cpuIntensiveCode();
} finally {
someButton.disabled = false;
}
The problem is that someButton is never disabled, because the browser
|
by: Janis |
last post by:
I try to understand what could be the source of a problem with
displaying and hiding rows of tables using display:block/none.
I've read selfhtml but could not find any hint about that. Any
pointers why that can happen, or how I should take care of that
type of problem/effect are highly appreciated.
The problem...
A couple times the hiding/displaying works, but _occasionally_
the entries are hidden but _blank lines appear_, instead.
|
by: Spockman |
last post by:
Hi Guys!
I stuck in this problem quiet awhile. I have a MainForm in my application. It contains a second one as a member. If both a visible I have a problem to redraw the second one.
eg: MainForm and SecondForm is open and I move another window over the SecondForm. After that I click on the MainForm it will get the Focus and it will be redrawn. But the SecondForm stays behind.
I tried the following:
Using the OnActivation or OnEnter of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|