I have a windows application that scrapes pixels from the screen for recording (in the form of a video) to a custom screen-sharing format. The problem is that on machines using a software cursor, blitting from the screen with SRCCOPY|CAPTUREBLIT (so that layered windows also show up in the image) causes the cursor to blink, as described...
I want to use partially transparent images in drag/drop operations. This is all set up and works fine, but the actual transformation to transparency has a weird side effect. For some reason, the pixels seem to be blended against a black background.
The following image describes the problem:
Figure a) is the original bitmap.
Figure ...
The Oracle version of our database is 10g.
The stored procedure selects all the elements in a table and returns a REF CURSOR type as follows:
create or replace
PROCEDURE S_S_TEST(
test_OUT OUT OAS_TYPES.REFCURSOR
)
AS
BEGIN
OPEN test_OUT FOR
SELECT *
FROM table_p;
CLOSE test_OUT;
END S_S_TEST;
When this sto...
i am developing a portal, where client require animated cursor on page
I have done something but it is not working. steps which i have taken to make this is following:
in photoshop develop a image and save as cursor.ani
2 pest this image in images folder.
pest the following code in html page before body tag in head tag.
<styl...
Hi,
I am developing a full-screen application which contains some animated Forms controls (basically, labels which move).
I want to hide the cursor after a period of inactivity, and I have tried using the method given in this thread: http://stackoverflow.com/questions/744980/hide-mouse-cursor-after-an-idle-time
While this works in a s...
I add hyperlinks dynamically in code to a Richtextbox, but I can't seem to set link.Cursor to any value, such as Cursors.Hand (it just ignores it). Any help?
...
I have recently read about how cursors should be avoided. Well, I would like to know if my usage of them is appropriate.
I am creating a scripting engine that will work online(embedded in a page, server-side) This scripting engine will be used by "advanced" end users of this product. The product works very heavily with the database howe...
Due to a legacy report generation system, I need to use a cursor to traverse the result set from a stored procedure. The system generates report output by PRINTing data from each row in the result set. Refactoring the report system is way beyond scope for this problem.
As far as I can tell, the DECLARE CURSOR syntax requires that its ...
I'm using SQL Server to build stored procedures, and I'm using cursors to loop through a select statement
I'm defining the cursor as follow:
DECLARE @c_col1 varchar(max);
DECLARE @c_col2 varchar(max);
DECLARE c as CURSOR FOR
SELECT col1, col2
FROM table;
OPEN c;
FETCH NEXT FROM c INTO
@c_col1, @c_col2;
SELECT @c_col1, @c_col2;
I...
How can I skin, or otherwise change, the default cursor (white arrow) displayed in a Flex application?
...
I use this code to get the item from cursor, but it just return one item on my list. So, how can I get all items to my list, this is my code?
class MyAdapter extends SimpleCursorAdapter
{
private Context context;
public MyAdapter(Context context, int layout, Cursor c, String[] from, int[] to)
{
super(context, layout, c, from, t...
Hi Folks,
I've some work to do on a largish database which basically requires calling a stored proc with different parameters for every value in a table (approx. 20k entries). I want to do this without blocking on that table or the other tables involved for each loop for the time it takes the whole process to run. Is is possible from wi...
I want to build predictive sentence advisor, like (Onion News) Apple Introduces Revolutionary New .... Sentences can probably be generated by stylized pseudo-random text generating algorithm like Markov chain.
I imagine this as - while typing, menubox with predictive sentences are displayed above text cursor.
How to 'text cursor track...
Hi, I want to put a "All String" data (get from "Cursor") into an "Array". But I don't know why the "Array" just return one value? I'm get lost here. Can someone help me? This is my code snippet
private String[] getOneColumn(){
String[] myArray = null;
Cursor cursor = mDbHelper.fetchAllNotes();
startManagingCurs...
How can I create a list Array (the list display First Alphabet when scroll) with the cursor data?
...
Hi all,
I need to create a dynamic resultset in a stored procedure in Sybase ASA 9.
Lets say I have a query:
'SELECT '+@Description+', '+@Id+' From '+@Table;
I need to create a cursor to get all values of that query.
How?
...
I get a String data from Cursor, but I don't know how to convert it to Array. How can I do that?
String[] mString;
for(cursor.moveToFirst(); cursor.moveToNext(); cursor.isAfterLast()) {
mTitleRaw = cursor.getString(cursor.getColumnIndex(SBooksDbAdapter.KEY_TITLE_RAW));
}
mString = mTitleRaw ????
...
This is a noobie question, most likely syntax one. But I am kinda lost...
I need to go over all columns in all tables in Oracle to generate trigger script. That trigger should insert the row being updated to a log table which is nearly the same as the original table. I thought I would just go over all the columns and just concatenate st...
I have a table declaration:
TYPE PERSON_TYPE AS OBJECT (ID NUMBER(38), NAME VARCHAR2(20));
TYPE PERSON_TYPE_TABLE AS TABLE OF PERSON_TYPE;
Can I declare cursor which will be work with my table type in Oracle?
...
I have written an application which is getting the Icon info of current cursor using GetIconInfo function of user32.dll, It works fine for some time, but after some time it starts providing wrong information in ICONINFO.hbmMask (some negative value), and when on the next line I try to get Bitmap object from Bitmap.HBitmap(bitmask), it th...