o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Fill Region -

I cant seem to figure this out so maybe someone has some tips for me.

I create a rounded rectangle region in a picture box with CreateRoundRectRgn, and i then want to fill that region with white. It would be awesome if it had a black line around it but im not going to get greedy.

But I cant get anything to show up. If i could just use a shape for this i would but i dunno how to get the hdc of a shape so that i can do what i ultimately have to do (setting region for a controls transparency) so umm *scratches head*

please enlighten me... any way you can...heh

 

Fill Region -
I cant seem to figure this out so maybe someone has some tips for me. I create a rounded rectangle region in a picture box with CreateRoundRectRgn, and i then want to fill that region with white. It would be awesome if it had a black line around it but im not going to get greedy.


Adding background image to a region created using CreateRectRgn API -- -
I have a hDC, and am creating regions, rounded and rectangualr...in some rare cases I even combine regions. I can fill them and add a border to them...it looks very flash Hahahaha....kidding. But I am drawing and filling regions on my hDC. I can add a background image, and can til


can any one tell wot is this -
<smil> <head> <audio src="rtsp://realserver.muziqpakistan.com:7070/dump/" /> <textstream src="http://www.muziqpakistan.com/rpt/mptext.rt" region="mp_title_box" fill="freeze" /> <textstream src="http://ww


Need help on Clipping Region -
Hi, I need to clip a region against a rectangle(if possible another region). Is there any API that takes two regions, first : region to be clipped and second : region to be used as clipping region, and returns a clipped region? Lots of thanx in advance for any help.


Suggestion required -
I'm working on a multi user application which will run on Intranet. It will be used by about 50-60 persons. Scenario is like this. For one Customer there can be many regions, workgoups etc. Now I select a the Customer from the Combo box to add a region for him. After selecting the


grouping routines as #region -
If you have a LOT of code in the FORM_LOAD event, how can you fix it like #region / #end region? I know you can't use region/end region within a sub. I would just like to be able to minimize each sub-section in the _load event cause mine usually has a LOT of code to initialize parame


Can my DVD player, play Region 1 DVD's -
Hi, I have a TV I'm not sure if it's PAL-only or not, but my DVD player has a mode to run NTSC (American DVDs) on PAL-only TV's, I'm confused though about Region Codes, In Australia you need Region 4 DVDs, but I'm wondering if the region code just means NTSC IE, Region 4 means PAL, Reg


Hatching in a region -
Hi. I need to draw hatching in a region of a picturebox which is not define by the Createwhateverrgn Api. Example: I draw a circle, then I draw a line which is drawn accross the circle. How can I fill one side of the circle by defining an x,y point corresponding to the side to fi


Data reporter / DED -
Hello everyone sorry for jumping from thread to thread I need to show/print as follows using DataReport/DataEnviornemt Designers Q1. How many of u came to visit us? Region A. 25 Region B. 3 Q2. How many of u know Dr. k? Region A. 0 Region B. 55 ....on and on t


[2005] After Setting Region For Window, Can You Set It Again To A Larger Size -
I'm having a hard time trying to make a region I'm using to limit a control's area to change to a larger region after it's been set to a smaller region.


Return(false); -
This is not ending the submission of the form. What am I missing? Code: <script language="JavaScript"> <!-- function addAnother(form){ if(form.ckAddAnother.checked) { if(form.LName.value != "") { LName = form.addITSS.LName;


DVD Region X stuff -
I just took delivery of an American DVD (Region 1). I thought I had a multi region dvd player but alas I was duped by my own stupidity. A friend of mine recomended buying one of these region X dvd thinymebobbies. Has anyone with a dvd player used these ? Can you recomend one ?


Regions - Clearing -
How do you clear just a region area so the region stays intact but the region contents is deleted?


rotating a complex region -
I want to be able to rotate a pie shaped region. I came across a way to accomplish this in NT/2000, but no such luck for 9x. Does anyone have any suggestions? Would I be better off just deleting the region and creating a new one? Thanks -CD


[2005] Add region to button.region -
Is there a way to add (union, append) more region area to a button's region? I've been trying all morning by creating a new region and trying to do a region.union with the button.region, but can't get this to work. I'll post code tomorrow once I cleanup my messy trial project!


Opposite region -
Hiya Ive painted a circle inside a usercontrol, and derived graphicspath and a region from it. Now, i want the exact opposite of my current region. I want to use fillregion to fill whats outside the region. Ideas please? Current code: Code: Graphics gfx = this.CreateGra


Window Region Handle -
I created a rect window region from 0, 0 to 800, 600. Sopposedly hRgn = CreateRectRgn(0, 0, lWidth, lHeight) returns the hWnd. But when trying to draw a focus rect on my region via: DrawFocusRect hRgn, FocusRec it never appears. I am using SetCapture to something besides the region but


Getting DVD Region hell. -
HI ppl I am a vb programmer. I have been searching for months now on how to get a dvd discs region code from vb but I have given up. I need you guys to help me. I have only started in vc++ and I am totally crap atm. I am reading all these pages on microsofts site, directx sdk


Rounded rectangular region -
I am using CreateRoundRectRgn to create a region but I don't somehow understand some of the parameters of it. Can anybody just give me a function that will give me a region provided the rectangle I want to create the region and the roundness of that rectangle?


Another SQL Question [resolved] -
Hello SELECT Sum(ReportSummary.Q1) AS SumOfQ1, Sum(ReportSummary.Q2) AS SumOfQ2, Sum(ReportSummary.Q3) AS SumOfQ3, Sum(ReportSummary.Q4) AS SumOfQ4 FROM ReportSummary WHERE (((ReportSummary.region)="XX")); if i use the above SQL to open a recordset then myRecordse co


Not rectangular forms -
You have to create a region using Create RoundRectRegion and set that region as the windows region with SetWindowRgn Api. Mail me if you want a sample code. Reply to <dinesh_ms@bigfoot.com>


using a flood fill inside a PictureBox -
Let's presume that I have a PictureBox on my form called "PictureBox1". I have done some line drawing on it (see attached image--LEFT SIDE). I want to, given an (x,y) pixel pair, flood file the "white" region to "green" (see attached image--RIGHT SIDE)


Draw Region -
Hi, I have filled a region with color red, how can I draw a line (border) round the region? Thanks Loftty


Setwindowrgn with activex -
when i use setwindowrgn api with activex the api makes the background of the control transparent but does not clip the assigned region(s) during design time so the transparent section overlaps other controls (during design time).... is there a way around this? i also used createrou


Annoying mouse lock. -
When I tab through various Tabs in design mode my mouse often LOCKS into a region not associated with a tab. I tried pressing Escape a few times which usually unlocks regular region locks but it doesn't do anything. The only way to fix this is to run the application and then go back to


Need Help With Multi Shape SQL -
Hi all, I have the following Table: REGION STREET ADDRESS What I would like to do is group this by Region, then by Street. So it would like this: REGION ............STREET ........................ADDRESS NW ............STREET1 ..........................123604 ...


Regioning inside a sub or function -
Hi! There is the Region Code: #Region "Test" Private Sub .... Public Function ... #End Region Right? What want to know if is there a way of doing the same as region does but inside a sub or a function.


[2005] "#Region" Design-Time Performance -
I'm in a little bit of a debate with one of the guys I work with about #Region/#End Region and whether it's causing his computer to slow down while he codes in a document. I did some researching and haven't been able to find anything proving or disproving my opinion. If know of any


[2.0] XML reading -
I've got an XML file: <region> <name>fooname</name> <type>footype</type> <moreinfo> <example1>blah example 1</example1> </moeinfo> </region> note that there are not multiples of any of the child


[2005]Take snapshots for the region (x,y) on desktop -
hii all i need our help i want to take snapshotes to any place on the desktop by give the function the region (x,y) for the screen that i want to snapshot for this region and i need this snapshot talke not any window on foreground , if i give the function (x,y) for the region on deskto


Having Trouble With Regions -
i thought i could put a region anywhere i wanted to collapse? what am i doing wrong? Code: #region #end region what are the rules on where i can and can't put the region code?


Flexgrid not shown in outlook form region -
hello I've adjoined form region to task form.On that region ,I've placed AX ctrl (made using vb6) consisting of Flexgrid & 2 textboxes.Now when I open new task item ,the form region is not displayed.But if I remove Flexgrid from AX ctrl & try to open new task item,the form r


Passing Logic on Data Grid -
I need to validate the users region against the region in the productlist. What I have is: Several values stored in Session when a user logs in, one of which is Session("SLID") which is the users database primary key value and is used to perform a database lookup whenever a


Applying a formula to a highlighted region -
I hope this makes sense. I'd like to write code to apply the round function to each cell in a user selected region. For example if i highlight with my mouse from A1 to C3 i want all of those cells to be rounded. I found some code in here that uses hard coded values for the region, b


Color Fill -
I recall from the distant past that there is an API function that fills a closed region. I'm having trouble finding it. Thanks


drawing shapes -
im new to VB and im completly comfused by the whole shape drawing thing. rectangles i understand. but im trying to draw a pill shape (2 half circles at each end and straight lines to join them). can anyone post some code for doing this (and an explaination of why its like that would be


Draw region and fill the closed regions with a color -
Code: Private Sub Form_Load() Me.Font.Bold = True With Picture1 .ScaleMode = 3 .AutoRedraw = True .ScaleLeft = 99.7 .ScaleWidth = 101.46667 - 99.7 .ScaleTop = 4.0166694 .ScaleHeight = 2.85667 - 4.0166694 End


[2008] how do i (flood-fill) in vb.net -
hi. I am trying to convert a VB-6 program to VB-2008. the program displays the (us) map in a picture box. during runtime .. the program paints certain states red .. depending on the user's input. You can see what the (vb-6) program (and the us map) looks like from my webs


[2005] Checking if a point is within a region -
I have a region defined as the border to my form. It's a gradient border, so it has some size to it. It also has rounded corners. So it's a big box going around the contents of my form. I'm trying to use this as the way to move the form itself. Right now, my issue rises because the


DVD Region Reading from VB 6.0 -
Can it be done. I have searched for hours. PLEASE! I need to see what region a dvd disk in a certain drive is.