GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-May-2005, 07:05
OvedBZ OvedBZ is offline
New Member
 
Join Date: May 2005
Posts: 1
OvedBZ is on a distinguished road
Question

Problem with moving a Form (C++ Builder)


Hi,
I'm using a C++ Borland Builder.
I have a form where its BorderStyle sets to bsNone (without a caption) so I can't really drag this form.
How can I do that properly?
Thanks,
Oved
  #2  
Old 26-May-2005, 08:38
davy davy is offline
New Member
 
Join Date: May 2005
Posts: 1
davy is on a distinguished road
Wink

Quote:
Originally Posted by OvedBZ
Hi,
I'm using a C++ Borland Builder.
I have a form where its BorderStyle sets to bsNone (without a caption) so I can't really drag this form.
How can I do that properly?
Thanks,
Oved

Hi,

You can add this line in a FormMouseDown function :
Perform(WM_NCLBUTTONDOWN,HTCAPTION,NULL)

In fact Windows will believe, you clicked on the titlebar and will let you move the form.

Davy.
Sorry for my bad english...
 
 

Recent GIDBlogUS Elections and the ?Voter?s Responsibility? by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help! Insert into database problem robsmith MySQL / PHP Forum 1 24-Apr-2005 04:44
PHP form needs validation jabesign MySQL / PHP Forum 16 05-Jan-2005 01:23
Can someone check to see if my program is correct tommy69 C Programming Language 2 12-Apr-2004 21:36
help with form orbitel MySQL / PHP Forum 11 21-Jan-2004 16:29
Why doesnt my form work correctly? rhino1616 Web Design Forum 2 06-Nov-2003 18:21

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:54.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.