すべての Microsoft 製品 Microsoft 365 Office Windows Surface Xbox セール サポート ソフトウェア Windows アプリ OneDrive Outlook Skype OneNote Microsoft Teams PC とデバイス Xbox を購入する アクセサリ VR & 複合現実 エンタメ Xbox Game Pass Ultimate Xbox Live Gold Xbox とゲーム PC ゲーム Windows ゲーム 映画とテレビ番組 法人向け Microsoft Azure Microsoft Dynamics 365 Microsoft 365 Microsoft Industry データ プラットフォーム Power Platform 法人向けを購入する Developer & IT .NET Visual Studi
はじめに ここではDXライブラリでフォントファイル(.ttfなど)をWindowsにインストールせずそのまま利用する方法を紹介する。この方法では既存のDXライブラリにある文字列描画関数をそのまま利用する事ができる。 目次 背景 準備 方法 仕組み まとめ 参考 背景バージョン3.00eのDXライブラリでは、文字列描画に使用するフォントを変更する手段として2種類の関数が用意されている。1つはChangeFont関数、もう1つはCreateFontToHandle関数だ。 しかし、通常これらの関数で指定できるフォントはWindowsにインストールされたフォントのみである。そのため、DXライブラリユーザ*1側で用意したフォントを使用するためには一工夫必要だ。 準備以下の環境で正しく動作するのを確認した。 動作環境 Windows XP SP3 開発環境 Visual Studio 2008 Pr
フォームを水平または垂直方向にのみサイズ変更可能にする 言語フィルタ: Visual Basic C# 概要 フォームを水平または垂直方向にのみサイズ変更可能にする方法を紹介します。 水平方向のみサイズ変更可能にすると、フォームの左端か右端の境界線上でのみサイズ変更可能になります。 垂直方向のみサイズ変更可能にすると、フォームの上端か下端の境界線上でのみサイズ変更可能になります。 対象コントロール System.Windows.Forms.Form から派生しているクラス 解説 フォームのサイズ変更をするには次の操作があります。 フォームの境界線をマウスでドラッグする ファイル メニューまたはシステム メニューの [サイズ変更] メニューをクリックする タスクバーやタスクマネージャーから [重ねて表示] などをクリックする 上記のそれぞれに対応する方法を紹介します。 1. フォームの境界線
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く